mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Read encrypted session data again on reopen
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
ac0630788d
commit
fc74415e68
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