Commit d31dda50 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Ldap: Add note for AD users re updateuserinfoonlogin (bug #656679)



Change-Id: I79b142965f6a70b1415f040ed18669cbab67d0c7
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent db952335
...@@ -45,5 +45,7 @@ $string['userattribute'] = 'User attribute'; ...@@ -45,5 +45,7 @@ $string['userattribute'] = 'User attribute';
$string['usertype'] = 'User type'; $string['usertype'] = 'User type';
$string['weautocreateusers'] = 'We auto-create users'; $string['weautocreateusers'] = 'We auto-create users';
$string['updateuserinfoonlogin'] = 'Update user info on login'; $string['updateuserinfoonlogin'] = 'Update user info on login';
$string['updateuserinfoonloginadnote'] = 'Note: Enabling this may prevent some MS ActiveDirectory sites/users from subsequent Mahara logins';
$string['cannotconnect'] = 'Cannot connect to any LDAP hosts'; $string['cannotconnect'] = 'Cannot connect to any LDAP hosts';
?> ?>
...@@ -575,6 +575,7 @@ class PluginAuthLdap extends PluginAuth { ...@@ -575,6 +575,7 @@ class PluginAuthLdap extends PluginAuth {
'updateuserinfoonlogin' => array( 'updateuserinfoonlogin' => array(
'type' => 'checkbox', 'type' => 'checkbox',
'title' => get_string('updateuserinfoonlogin', 'auth.ldap'), 'title' => get_string('updateuserinfoonlogin', 'auth.ldap'),
'description' => get_string('updateuserinfoonloginadnote', 'auth.ldap'),
'defaultvalue' => self::$default_config['updateuserinfoonlogin'], 'defaultvalue' => self::$default_config['updateuserinfoonlogin'],
'help' => true, 'help' => true,
), ),
......
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