Commit b86c6850 authored by Nicholas Hoobin's avatar Nicholas Hoobin Committed by David Monllaó
Browse files

MDL-56417 session: Respect the return value of ignore_timeout_hook.

parent 258d07d3
......@@ -770,7 +770,7 @@ class manager {
foreach ($authplugins as $authplugin) {
/** @var \auth_plugin_base $authplugin*/
if ($authplugin->ignore_timeout_hook($user, $user->sid, $user->s_timecreated, $user->s_timemodified)) {
continue;
continue 2;
}
}
self::kill_session($user->sid);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment