Display locking profile fields

Display locking / mapping of profile fields
This commit is contained in:
Miguel Urtado 2021-09-02 00:19:38 -03:00 committed by GitHub
parent 4e151b4223
commit 86c72529f6
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',
new lang_string('updateuser', 'auth_userkey'),
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);
}