Display locking profile fields
Display locking / mapping of profile fields
This commit is contained in:
parent
4e151b4223
commit
86c72529f6
1 changed files with 5 additions and 0 deletions
|
@ -59,4 +59,9 @@ if ($ADMIN->fulltree) {
|
||||||
$settings->add(new admin_setting_configselect('auth_userkey/updateuser',
|
$settings->add(new admin_setting_configselect('auth_userkey/updateuser',
|
||||||
new lang_string('updateuser', 'auth_userkey'),
|
new lang_string('updateuser', 'auth_userkey'),
|
||||||
new lang_string('updateuser_desc', 'auth_userkey'), 0, $yesno));
|
new lang_string('updateuser_desc', 'auth_userkey'), 0, $yesno));
|
||||||
|
|
||||||
|
// Display locking / mapping of profile fields.
|
||||||
|
$authplugin = get_auth_plugin('userkey');
|
||||||
|
display_auth_lock_options($settings, $authplugin->authtype,
|
||||||
|
$authplugin->userfields, get_string('auth_fieldlocks_help', 'auth'), false, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue