From 35fe098a5dfc3ff675378a5d90e14be1117ac23a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Noack?= <noack@data-quest.de>
Date: Mon, 6 Jan 2025 08:47:37 +0000
Subject: [PATCH] Resolve #5045 "Shibboleth Login kaputt"

Closes #5045

Merge request studip/studip!3805
---
 lib/authentication/Manager.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/authentication/Manager.php b/lib/authentication/Manager.php
index 6055f9f1b54..d9c9f95927f 100644
--- a/lib/authentication/Manager.php
+++ b/lib/authentication/Manager.php
@@ -72,6 +72,7 @@ class Manager
                         Metrics::increment('core.sso_login.succeeded');
 
                         sess()->regenerateId(['auth', '_language', 'phpCAS', 'contrast']);
+                        $this->setAuthenticatedUser($user);
                     }
                 }
             }
-- 
GitLab