auto login when chosen so
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
This commit is contained in:
@ -27,8 +27,15 @@ class Err extends Page {
|
||||
|
||||
if($u->id)
|
||||
{
|
||||
$u->load($u->id);
|
||||
$u->login();
|
||||
$this->redirect($_SERVER['REQUEST_URI']);
|
||||
$url = '/'.implode('/',$GLOBALS['url']);
|
||||
//var_dump($url);
|
||||
$this->redirect($url);
|
||||
}
|
||||
else
|
||||
{
|
||||
setcookie('token', '', time() - 3600, "/");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user