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