Process login_url properly.

This commit is contained in:
Aaron committed 2017-11-09 17:00:35 +01:00
1 parent 09a662b4eb
commit 01bfc66842
2 files changed
+2 -2

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ class Login extends HTMLController
header('Location: ' . base64_decode($_POST['redirect_url']));
elseif (isset($_SESSION['login_url']))
{
unset($_SESSION['redirect_url']);
header('Location: ' . $_SESSION['redirect_url']);
header('Location: ' . $_SESSION['login_url']);
unset($_SESSION['login_url']);
}
else
header('Location: ' . BASEURL . '/');
Regular → Executable
View File
File mode changed.