Took 4 hours 1 minute
This commit is contained in:
Christopher
2023-07-11 18:23:23 +02:00
parent e7dd0b2fd6
commit eb805a994b
26 changed files with 1005 additions and 120 deletions
+2
View File
@@ -10,7 +10,9 @@
if(isset($_POST['logmein'])){
$remember = ($_POST['remember'] ?? false);
$auth->Authenticate($_POST['login'], $_POST['password'], $remember);
unset($_POST['logmein']);
}
if(isset($_SESSION['uToken_BE'])){
if($auth->CheckRole($_SESSION['uToken_BE']) == "administrator" || $auth->CheckRole($_SESSION['uToken_BE']) == "moderator")
if(isset($_GET['goto']))