mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Generate a new session id if the decrypting the session data fails
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
bcce5ba67b
commit
56604b02a8
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ class CryptoSessionData implements \ArrayAccess, ISession {
|
|||
);
|
||||
} catch (\Exception $e) {
|
||||
$this->sessionValues = [];
|
||||
$this->regenerateId(true, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue