mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Typo in previous commit: MDL-8973 : Update to the require_logout function
This commit is contained in:
parent
f8bd70303e
commit
dd3d9dcf2e
@ -1828,7 +1828,7 @@ function require_logout() {
|
||||
if (isloggedin()) {
|
||||
add_to_log(SITEID, "user", "logout", "view.php?id=$USER->id&course=".SITEID, $USER->id, 0, $USER->id);
|
||||
|
||||
if (!isset($USER->auth) && empty($USER->auth)) {
|
||||
if (!isset($USER->auth) || empty($USER->auth)) {
|
||||
$USER->auth = get_field('user', 'auth', 'id', $USER->id);
|
||||
}
|
||||
$authplugin = get_auth_plugin($USER->auth);
|
||||
|
Loading…
x
Reference in New Issue
Block a user