diff options
Diffstat (limited to 'lib/functions.php')
| -rw-r--r-- | lib/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/functions.php b/lib/functions.php index 82fd5ac..cbc0e64 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -1127,7 +1127,7 @@ function studip_default_exception_handler($exception) { $status = 403; $template = 'check_object_exception'; } elseif ($exception instanceof LoginException) { - $_SESSION['redirect_after_login'] ??= Request::url(); + $_SESSION['redirect_after_login'] = Request::url(); sess()->save(); header('Location: ' . URLHelper::getScriptURL('dispatch.php/login')); exit; |
