VENOM-10: WIP

This commit is contained in:
Maurice Grönwoldt 2020-11-18 17:50:01 +01:00
commit 5c44d50989
33 changed files with 890 additions and 601 deletions

View file

@ -21,8 +21,7 @@ class LoginRoute implements Route
{
if ($fnc === 'logout') {
Security::get()->logout();
$url = ArgumentHandler::get()->getPostItem('REDIRECT_TO', '/admin/');
header('Location: ' . $url);
echo '{"reload": true}';
die();
}
return true;