diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-11-03 08:39:59 +0100 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-11-03 16:34:25 +0000 |
commit | fc74415e687f6350e02c4a7dc96f1257cf508880 (patch) | |
tree | 4243fa96894cc06df0a6784faf00b2bfa0bf4839 | |
parent | ac0630788da57f5d3e9d8351ac39555f09541333 (diff) | |
download | nextcloud-server-fc74415e687f6350e02c4a7dc96f1257cf508880.tar.gz nextcloud-server-fc74415e687f6350e02c4a7dc96f1257cf508880.zip |
Read encrypted session data again on reopen
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | lib/private/Session/CryptoSessionData.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/Session/CryptoSessionData.php b/lib/private/Session/CryptoSessionData.php index b01887e39e2..5c39ebb1e91 100644 --- a/lib/private/Session/CryptoSessionData.php +++ b/lib/private/Session/CryptoSessionData.php @@ -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; } /** |