Merge pull request #24554 from nextcloud/backport/24550/stable19
[stable19] Generate a new session id if the decrypting the session data fails
This commit is contained in:
commit
8a93263b86
|
@ -87,6 +87,7 @@ class CryptoSessionData implements \ArrayAccess, ISession {
|
|||
);
|
||||
} catch (\Exception $e) {
|
||||
$this->sessionValues = [];
|
||||
$this->regenerateId(true, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue