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

This commit is contained in:
Brendan Heywood
2021-03-04 09:31:51 +11:00
parent f32754319e
commit 6feb10dd53
11 changed files with 31 additions and 23 deletions
+1 -1
View File
@@ -6127,7 +6127,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);