Skip to content
Snippets Groups Projects
Unverified Commit 858f6230 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Generate a new session id if the decrypting the session data fails

parent 64bc7c79
No related branches found
No related tags found
No related merge requests found
......@@ -87,6 +87,7 @@ class CryptoSessionData implements \ArrayAccess, ISession {
);
} catch (\Exception $e) {
$this->sessionValues = [];
$this->regenerateId(true, false);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment