Process login_url properly.

This commit is contained in:
Aaron van Geffen 2016-09-17 14:35:52 +02:00
parent 09a662b4eb
commit 01bfc66842
2 changed files with 2 additions and 2 deletions

View File

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

0
server Normal file → Executable file
View File