Merge pull request #69 from miguelurtado/patch-1

Display locking profile fields
This commit is contained in:
Dmitrii Metelkin 2022-08-19 08:56:41 +10:00 committed by GitHub
commit 596bb69e71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
} }