mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Log user out correctly if max session lifetime is reached (#24552)
This commit is contained in:
parent
b34bacd071
commit
8b6bb0a426
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue