Process login_url properly.
This commit is contained in:
@@ -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 . '/');
|
||||
|
||||
Reference in New Issue
Block a user