v0.1.4 - Fixed JS & CSS & Backend

This commit is contained in:
Anders
2021-06-09 08:50:45 +02:00
parent 36640946a1
commit 29e442bb51
4 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ if (isset($_POST['loginsubmit'])) {
if ($password->save()) {
$_SESSION['token'] = $token;
$_SESSION['name'] = $username;
header('location: ../../admin.php?login=success');
header('location: ../../Frontend/admin.php?login=success');
exit();
http_response_code(200);
} else {
+1 -1
View File
@@ -2,4 +2,4 @@
session_start();
session_unset();
session_destroy();
header("location: ../../index.php");
header("location: ../../Frontend/index.php");