mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-12-14 15:19:07 +00:00
fixes #17
This commit is contained in:
@@ -6,7 +6,7 @@ include_once "include/MessageCookie.php";
|
||||
include_once "include/SessionManager.php";
|
||||
|
||||
$username = filter_var($_POST['username'], FILTER_SANITIZE_STRING);
|
||||
$password = filter_var($_POST['password'], FILTER_SANITIZE_STRING);
|
||||
$password = $_POST['password'];
|
||||
|
||||
|
||||
$user = UserManager::auth($username, $password);
|
||||
@@ -23,4 +23,4 @@ if ($user != NULL) {
|
||||
|
||||
header("Location: login.php#login");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user