]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not remove complete encrypted session key when just a key should be removed 34934/head
authorJulius Härtl <jus@bitgrid.net>
Thu, 3 Nov 2022 08:58:31 +0000 (09:58 +0100)
committerJulius Härtl <jus@bitgrid.net>
Thu, 3 Nov 2022 12:20:30 +0000 (13:20 +0100)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
lib/private/Session/CryptoSessionData.php

index 5c39ebb1e9169be4a258a5be41e1cb73dee63b50..df810d5b30c8dca091eae713afe8a944f3894b0b 100644 (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();
                }