Do not remove complete encrypted session key when just a key should be removed

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2022-11-03 09:58:31 +01:00
parent 2ff840b5c1
commit c412821606
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -143,7 +143,6 @@ class CryptoSessionData implements \ArrayAccess, ISession {
$reopened = $this->reopen();
$this->isModified = true;
unset($this->sessionValues[$key]);
$this->session->remove(self::encryptedSessionName);
if ($reopened) {
$this->close();
}