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
a53871f629
commit
f52337e8be
|
@ -87,6 +87,7 @@ class CryptoSessionData implements \ArrayAccess, ISession {
|
|||
);
|
||||
} catch (\Exception $e) {
|
||||
$this->sessionValues = [];
|
||||
$this->regenerateId(true, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue