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 committed by backportbot-nextcloud[bot]
parent ac0630788d
commit fc74415e68

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