MDL-70424 auth: Avoid random changes to $CFG->auth

This commit is contained in:
Brendan Heywood
2021-03-04 09:30:17 +11:00
parent 3799c7f535
commit f5e822222d
11 changed files with 31 additions and 23 deletions
+1 -1
View File
@@ -6219,7 +6219,7 @@ class admin_setting_special_registerauth extends admin_setting_configselect {
$this->choices = array();
$this->choices[''] = get_string('disable');
$authsenabled = get_enabled_auth_plugins(true);
$authsenabled = get_enabled_auth_plugins();
foreach ($authsenabled as $auth) {
$authplugin = get_auth_plugin($auth);