autofworward after login
Build and push / Pulling repo on server (push) Successful in 3s
Build and push / Pulling repo on server (push) Successful in 3s
This commit is contained in:
1 parent
5dda6b958d
commit
339321a322
4 files changed
+20
-3
No files matched your search
@@ -78,7 +78,10 @@ class Login extends Page {
|
||||
else
|
||||
{
|
||||
$u->login();
|
||||
$this->redirect('/');
|
||||
if($_SERVER['HTTP_HX_CURRENT_URL'] && !endsWith($_SERVER['HTTP_HX_CURRENT_URL'],'/login'))
|
||||
$this->redirect($_SERVER['HTTP_HX_CURRENT_URL']);
|
||||
else
|
||||
$this->redirect('/');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user