autofworward after login
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
2023-10-26 22:04:05 +02:00
parent 5dda6b958d
commit 339321a322
4 changed files with 20 additions and 3 deletions

View File

@ -11,7 +11,8 @@ class Err extends Page {
function notallowed()
{
return json_encode(['error'=>'not allowed']);
$this->set("loggedin",(isset($_SESSION['user']) && $_SESSION['user'] !== false));
$this->set('template', "notallowed.html");
}
}