Log user out correctly if max session lifetime is reached (#24552)
This commit is contained in:
parent
b34bacd071
commit
8b6bb0a426
|
@ -438,7 +438,7 @@ class OC {
|
|||
if (isset($_COOKIE[session_name()])) {
|
||||
setcookie(session_name(), null, -1, self::$WEBROOT ? : '/');
|
||||
}
|
||||
$session->clear();
|
||||
\OC::$server->getUserSession()->logout();
|
||||
}
|
||||
|
||||
$session->set('LAST_ACTIVITY', time());
|
||||
|
|
Loading…
Reference in New Issue