Read encrypted session data again on reopen

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2022-11-03 08:39:59 +01:00
parent c00e590a4f
commit 2ff840b5c1
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -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;
}
/**