cases for updates

This commit is contained in:
Thies Mueller 2021-01-10 00:00:46 +01:00
parent cb5df93419
commit 88ba6d3514

View File

@ -14,5 +14,14 @@ $_SESSION['lastName'] = $user['lastName'];
$_SESSION['activated'] = $user['activated']; $_SESSION['activated'] = $user['activated'];
$_SESSION['updated_at'] = $user['updated_at']; $_SESSION['updated_at'] = $user['updated_at'];
echo '<Session newly validated. Going back to secure land! <meta http-equiv="refresh" content="1; URL=secure.php">'; if(isset($_GET['register'])) {
echo 'Session newly validated. Going back to secure land! <meta http-equiv="refresh" content="0; URL=secure.php">';
}if(isset($_GET['profile'])) {
echo 'Session newly validated. Going back to profile land! <meta http-equiv="refresh" content="0; URL=profile.php">';
}if(isset($_GET['rawdata'])) {
echo 'Session newly validated. Going back to secure land! <meta http-equiv="refresh" content="0; URL=rawdata.php">';
}else {
echo 'Session newly validated. I dont know where i shoudl go! Defaulting to secure! <meta http-equiv="refresh" content="0; URL=secure.php">';
}
?> ?>