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

This commit is contained in:
Brendan Heywood
2021-02-23 11:40:57 +11:00
parent a93828a188
commit 300213ee2e
11 changed files with 31 additions and 28 deletions
+1 -1
View File
@@ -6309,7 +6309,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);