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']));
|
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 . '/');
|
||||||
|
Loading…
Reference in New Issue
Block a user