Update login.php

This commit is contained in:
jakani24
2024-01-14 15:40:32 +01:00
parent 59a0d39b44
commit 2131d6b725

View File

@@ -67,7 +67,9 @@ session_start();
$_SESSION["username"]=$username; $_SESSION["username"]=$username;
$_SESSION["login"]=true; $_SESSION["login"]=true;
$_SESSION["perms"]=$row["perms"]; $_SESSION["perms"]=$row["perms"];
header("LOCATION:/system/secure_zone/php/index.php");
echo '<script>window.location.href = "/system/secure_zone/php/index.php";</script>';
exit();
} else { } else {
echo '<div class="alert alert-danger" role="alert"> echo '<div class="alert alert-danger" role="alert">
Incorrect username or password. Incorrect username or password.