mirror of
https://github.com/nextcloud/server.git
synced 2026-03-22 18:33:46 -04:00
Read encrypted session data again on reopen
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
c00e590a4f
commit
2ff840b5c1
1 changed files with 5 additions and 1 deletions
|
|
@ -163,7 +163,11 @@ class CryptoSessionData implements \ArrayAccess, ISession {
|
|||
}
|
||||
|
||||
public function reopen(): bool {
|
||||
return $this->session->reopen();
|
||||
$reopened = $this->session->reopen();
|
||||
if ($reopened) {
|
||||
$this->initializeSession();
|
||||
}
|
||||
return $reopened;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue