From de3099b4d6b05e99927bbb665be71ff217d88279 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Tue, 22 Nov 2022 08:47:01 +0100 Subject: [PATCH] Remove potential mismatching dav session data during login MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/private/User/Session.php | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5