introducing update.php & a new session variable

This commit is contained in:
Thies Mueller
2021-01-09 23:55:24 +01:00
parent c073195f4e
commit cb5df93419
2 changed files with 19 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ if(isset($_GET['login'])) {
$_SESSION['givenName'] = $user['givenName'];
$_SESSION['lastName'] = $user['lastName'];
$_SESSION['activated'] = $user['activated'];
$_SESSION['updated_at'] = $user['updated_at'];
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">');
} else {
$errorMessage = '<div class="alert alert-danger" role="alert">somethings wrong (maybe wrong password or wrong user)</div><br>';