Proper handling of authenticated state on important pages.
[Project_webapp.git] / includes / account.php
index dc254491f554d190cadf40e0a2a12608f48e23c1..9e725c3ac9bbfd753afdef4924492a8f6f2a7744 100644 (file)
@@ -3,6 +3,7 @@ global $is_logged_in;
 if (!$is_logged_in) {
     echo "Please login first.";
     redirect("index.php?page=login", 2);
+    exit();
 }
 ?>