From 1069f1a68b7bb69af5358eae34b8c433c8d085a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Noack?= Date: Fri, 14 Feb 2025 06:27:21 +0000 Subject: =?UTF-8?q?Resolve=20#5248=20"Links=20in=20Benachrichtigungen=20zu?= =?UTF-8?q?=20Forumsbeitr=C3=A4gen=20kaputt"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #5248 Merge request studip/studip!3934 --- lib/authentication/Manager.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/authentication/Manager.php b/lib/authentication/Manager.php index 639be66..fe5dff8 100644 --- a/lib/authentication/Manager.php +++ b/lib/authentication/Manager.php @@ -92,13 +92,6 @@ class Manager } } } else { - if ( - $this->auth['uid'] !== 'nobody' - && Request::get('again') - && !match_route('dispatch.php/login') - ) { - return false; - } $this->setAuthenticatedUser($this->auth['uid'] !== 'nobody' ? User::find($this->auth['uid']) : User::build(['user_id' => 'nobody', 'perms' => null])); } return true; -- cgit v1.0