Update login.php
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user