From 86c72529f621ce33ead137f233e1d185884379b7 Mon Sep 17 00:00:00 2001 From: Miguel Urtado Date: Thu, 2 Sep 2021 00:19:38 -0300 Subject: [PATCH] Display locking profile fields Display locking / mapping of profile fields --- settings.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/settings.php b/settings.php index 1154dc4..f9c67e6 100644 --- a/settings.php +++ b/settings.php @@ -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); }