summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Middleware/LegacyMiddleware.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php
index 11508e1c..e26b0851 100644
--- a/src/Middleware/LegacyMiddleware.php
+++ b/src/Middleware/LegacyMiddleware.php
@@ -218,9 +218,7 @@ class LegacyMiddleware implements MiddlewareInterface
return [$title, $content];
}
- require_once realpath(__DIR__ . '/../../includes/pages/guest_start.php');
- $content = guest_start();
- return [$title, $content];
+ redirect(page_link_to('login'));
}
/**