PDO Login

master
flejk 2 years ago
parent 120817a920
commit 4150b74666

@ -28,6 +28,9 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){
// Check if password is empty
if(empty(trim($_POST["prihlasovaciHeslo"]))){
$password_err = "Please enter your password.";
session_start();
$_SESSION["wrongCr"] = true;
header("location: index.php");
} else{
$password = trim($_POST["prihlasovaciHeslo"]);
}

Loading…
Cancel
Save