aboutsummaryrefslogtreecommitdiff
path: root/lib/authentication/Manager.php
diff options
context:
space:
mode:
authorAndré Noack <noack@data-quest.de>2025-02-14 06:27:21 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-02-14 06:27:21 +0000
commit1069f1a68b7bb69af5358eae34b8c433c8d085a0 (patch)
treeadeb3fb999adce1bc0ba5b1c6df686d7d2b9fce1 /lib/authentication/Manager.php
parent321e94bc3d6a392d8b14fa24b6252dc236cf4496 (diff)
Resolve #5248 "Links in Benachrichtigungen zu Forumsbeiträgen kaputt"
Closes #5248 Merge request studip/studip!3934
Diffstat (limited to 'lib/authentication/Manager.php')
-rw-r--r--lib/authentication/Manager.php7
1 files changed, 0 insertions, 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;