aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-11-03 09:58:31 +0100
committerJulius Härtl <jus@bitgrid.net>2022-11-03 13:20:30 +0100
commitc412821606c91d9befc4b6557aeef1ab6873fcfd (patch)
tree210edfc8cded756fba77c9d8238c3d06d6d39568
parent2ff840b5c151c3659ee6de29f52e9d8ea77cfaed (diff)
downloadnextcloud-server-c412821606c91d9befc4b6557aeef1ab6873fcfd.tar.gz
nextcloud-server-c412821606c91d9befc4b6557aeef1ab6873fcfd.zip
Do not remove complete encrypted session key when just a key should be removed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--lib/private/Session/CryptoSessionData.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/Session/CryptoSessionData.php b/lib/private/Session/CryptoSessionData.php
index 5c39ebb1e91..df810d5b30c 100644
--- a/lib/private/Session/CryptoSessionData.php
+++ b/lib/private/Session/CryptoSessionData.php
@@ -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();
}