From 88ba6d3514f5c6c1ff01fde8523bf7086d0fd5b3 Mon Sep 17 00:00:00 2001 From: Thies Mueller Date: Sun, 10 Jan 2021 00:00:46 +0100 Subject: [PATCH] cases for updates --- update.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/update.php b/update.php index 939ffef..8e0f127 100644 --- a/update.php +++ b/update.php @@ -14,5 +14,14 @@ $_SESSION['lastName'] = $user['lastName']; $_SESSION['activated'] = $user['activated']; $_SESSION['updated_at'] = $user['updated_at']; -echo ''; +if(isset($_GET['register'])) { +echo 'Session newly validated. Going back to secure land! '; +}if(isset($_GET['profile'])) { + echo 'Session newly validated. Going back to profile land! '; +}if(isset($_GET['rawdata'])) { + echo 'Session newly validated. Going back to secure land! '; +}else { + echo 'Session newly validated. I dont know where i shoudl go! Defaulting to secure! '; +} + ?> \ No newline at end of file