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.
Posted by primeworks on July 27, 2013 at 11:09am

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

Posted by omega8cc on August 4, 2013 at 2:41pm

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:

AltStyle によって変換されたページ (->オリジナル) /