summaryrefslogtreecommitdiff
path: root/pages/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/edit.php')
-rw-r--r--pages/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/edit.php b/pages/edit.php
index 74105e2..ae007be 100644
--- a/pages/edit.php
+++ b/pages/edit.php
@@ -14,7 +14,7 @@ function getSubsystemByID(string $id) {
}
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn;
-if (!$isLoggedIn) header("Location: /login") and die();
+if (!$isLoggedIn) header("Location: /-/login") and die();
if (!isset($_GET['_']) || trim($_GET['_']) === "") header("Location: /?error=Invalid request") and die();