Browse Source

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

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v21.0.0beta1
Roeland Jago Douma 3 years ago
parent
commit
858f623081
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/private/Session/CryptoSessionData.php

+ 1
- 0
lib/private/Session/CryptoSessionData.php View File

@@ -87,6 +87,7 @@ class CryptoSessionData implements \ArrayAccess, ISession {
);
} catch (\Exception $e) {
$this->sessionValues = [];
$this->regenerateId(true, false);
}
}


Loading…
Cancel
Save