FIX: Set REQUEST_URI to go back to page requested before logging in
[phorkie.git] / www / user.php
index fd851c4ebfd627270ba0019c9cec51d18ef6b655..5bb2352ad60323a458a1f640940c778bc345a722 100644 (file)
@@ -3,10 +3,8 @@
  * Edit user information
  */
 namespace phorkie;
+$pageRequiresLogin = '1';
 require_once 'www-header.php';
-if (!isset($_SESSION['identity'])) {
-    include_once 'secure.php';
-}
 
 if (isset($_POST['name'])) {
     $_SESSION['name'] = substr(filter_var($_POST['name'], FILTER_SANITIZE_STRING), 0, 35);