forked from Public/pics
Process login_url properly.
This commit is contained in:
parent
09a662b4eb
commit
01bfc66842
@ -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 . '/');
|
||||
|
Loading…
Reference in New Issue
Block a user