just get to the page specified by "page" Get

This commit is contained in:
Thies Mueller 2021-01-10 00:07:44 +01:00
parent 88ba6d3514
commit 422463e22c

View File

@ -14,14 +14,7 @@ $_SESSION['lastName'] = $user['lastName'];
$_SESSION['activated'] = $user['activated']; $_SESSION['activated'] = $user['activated'];
$_SESSION['updated_at'] = $user['updated_at']; $_SESSION['updated_at'] = $user['updated_at'];
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">';
}
echo 'Session newly validated!';
echo '<meta http-equiv="refresh" content="0; URL='.$_GET['page'].'">';
?> ?>