This commit is contained in:
KevinRamharak 2018-01-03 14:39:21 +01:00
parent d4732d8946
commit 6e0fe8f0c2
2 changed files with 4 additions and 5 deletions

View File

@ -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);

View File

@ -6,8 +6,7 @@ include_once "include/SessionManager.php";
include_once "include/SqlConnection.php";
$username = filter_var($_POST['username'], FILTER_SANITIZE_STRING);
$password = filter_var($_POST['password'], FILTER_SANITIZE_STRING);
$password = $_POST['password'];
//Validate user / pass