aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-11-22 10:04:14 +0100
committerGitHub <noreply@github.com>2022-11-22 10:04:14 +0100
commit7f6e22c308379df26facc3f8c405c6102138ac17 (patch)
treeaba5d70429a5616e0d6b1a4c5da2d5d270b28ee1
parenta0bf65dad9afa397db4afe4127d1b8daa7989e01 (diff)
parentde3099b4d6b05e99927bbb665be71ff217d88279 (diff)
downloadnextcloud-server-7f6e22c308379df26facc3f8c405c6102138ac17.tar.gz
nextcloud-server-7f6e22c308379df26facc3f8c405c6102138ac17.zip
Merge pull request #35318 from nextcloud/bugfix/noid/avoid-conflicting-session-data
-rw-r--r--lib/private/User/Session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php
index f9ad1f72ab8..203d755d0ab 100644
--- a/lib/private/User/Session.php
+++ b/lib/private/User/Session.php
@@ -371,6 +371,7 @@ class Session implements IUserSession, Emitter {
if ($regenerateSessionId) {
$this->session->regenerateId();
+ $this->session->remove(Auth::DAV_AUTHENTICATED);
}
$this->setUser($user);