Commit 5fb842a7 authored by Francois Marier's avatar Francois Marier
Browse files

auth/browserid: default to autocreateusers = 0



Having auto-create users essentially turns on self-registration
which could lead to confusion for admins. It's better to force
them to turn it on manually if that's what they want.

Change-Id: If8e24730bca832d50ed4a851f2ffe408c5a7ae0f
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent bae18a55
......@@ -30,7 +30,7 @@ class AuthBrowserid extends Auth {
$this->has_instance_config = true;
$this->type = 'browserid';
$this->config['weautocreateusers'] = 1;
$this->config['weautocreateusers'] = 0;
if (!empty($id)) {
return $this->init($id);
}
......@@ -89,7 +89,7 @@ class AuthBrowserid extends Auth {
class PluginAuthBrowserid extends PluginAuth {
private static $default_config = array(
'weautocreateusers' => 1,
'weautocreateusers' => 0,
);
public static function has_config() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment