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 committed by backportbot-nextcloud[bot]
parent fc74415e68
commit c6b2d08e67

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();
}