now with interactive start page..

This commit is contained in:
thies
2021-01-10 18:20:05 +01:00
parent a32ac02f9b
commit b260805725
3 changed files with 89 additions and 16 deletions

View File

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