diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-04 13:42:40 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-12-04 15:00:38 +0300 |
commit | 56604b02a8c0bd2905c82e854f47d41caaeaf9ca (patch) | |
tree | 241177888243e283e7ceebbb3e256e976f63bf05 | |
parent | bcce5ba67b3771854e9de5008f23f685a196a63c (diff) |
Generate a new session id if the decrypting the session data fails
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | lib/private/Session/CryptoSessionData.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Session/CryptoSessionData.php b/lib/private/Session/CryptoSessionData.php index a0178c7eea2..24677330dc9 100644 --- a/lib/private/Session/CryptoSessionData.php +++ b/lib/private/Session/CryptoSessionData.php @@ -87,6 +87,7 @@ class CryptoSessionData implements \ArrayAccess, ISession { ); } catch (\Exception $e) { $this->sessionValues = []; + $this->regenerateId(true, false); } } |