MDL-70766 auth: Add all auth plugin changes to configlog

This commit is contained in:
Brendan Heywood
2021-02-11 11:05:53 +11:00
parent d7dd8517fc
commit 778c0e5fb3
2 changed files with 16 additions and 5 deletions
+3 -1
View File
@@ -121,7 +121,9 @@ class auth extends base {
}
if (($key = array_search($this->name, $auths)) !== false) {
unset($auths[$key]);
set_config('auth', implode(',', $auths));
$value = implode(',', $auths);
add_to_config_log('auth', $CFG->auth, $value, 'core');
set_config('auth', $value);
}
if (!empty($CFG->registerauth) and $CFG->registerauth === $this->name) {