i hate this shit

This commit is contained in:
Thies Mueller 2021-01-08 21:49:27 +01:00
parent 97423f3d68
commit 974edf32b6

View File

@ -19,7 +19,7 @@ if(isset($_GET['login'])) {
$_SESSION['lastName'] = $user['lastName']; $_SESSION['lastName'] = $user['lastName'];
die('successfull. go to: <a href="secure.php">secure page</a><meta http-equiv="refresh" content="0; URL=secure.php">'); die('successfull. go to: <a href="secure.php">secure page</a><meta http-equiv="refresh" content="0; URL=secure.php">');
} else { } else {
$errorMessage = "<div class="alert alert-danger" role="alert">somethings wrong (maybe wrong password or wrong user)</div><br>"; $errorMessage = '<div class="alert alert-danger" role="alert">somethings wrong (maybe wrong password or wrong user)</div><br>';
} }
} }