disable_user_register_protection.info not working on Hostmaster site

Events happening in the community are now at Drupal community events on www.drupal.org.
primeworks's picture

I'm trying to setup the aegir instance to allow new users register by creating a new client.

Anon user clicks add client -> form filled -> Account verified by clicking link in inbox

I used disable_user_register_protection.info in the modules folder of the hostmaster site but it still doesn't allow the anonymous users to add a new client. It still shows the Error 403 Forbidden page.

Anyone out there with a fix?

Comments

It is forced in the

omega8cc's picture

It is forced in the /data/conf/global.inc by default:

<?php

  
// Prevent turning the feature server site into a spam machine.
    // Disable self-registration also on hostmaster.
   
if ($conf['install_profile'] == 'feature_server' || $conf['install_profile'] == 'hostmaster') {
     
$conf['user_register'] = 0; // force "Only site administrators can create new user accounts"
   
}
?>

You can disable this by adding in the /data/conf/override.global.inc file:

<?php
# override global settings.php
   
if ($conf['install_profile'] == 'hostmaster') {
      unset(
$conf['user_register']);
    }
?>

You shouldn't do that, for security reasons, unless you know what are you doing.

~Greg

BOA

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: