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
@@ -221,7 +221,7 @@ class api {
}
// Identity providers.
$authsequence = get_enabled_auth_plugins(true);
$authsequence = get_enabled_auth_plugins();
$identityproviders = \auth_plugin_base::get_identity_providers($authsequence);
$identityprovidersdata = \auth_plugin_base::prepare_identity_providers_for_output($identityproviders, $OUTPUT);
if (!empty($identityprovidersdata)) {