summaryrefslogtreecommitdiff
path: root/src/Middleware/LegacyMiddleware.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-11-21 12:17:28 +0100
committermsquare <msquare@notrademark.de>2019-06-12 10:21:20 +0200
commit2e51fbff9d8472a0e98af39aff52d30f0b67706b (patch)
treea41eaf8fa3296fb2892b97fde1074edc566be4c3 /src/Middleware/LegacyMiddleware.php
parente948091066e4893b1b823fc80db1c1ebba174b53 (diff)
Added / route with redirects
Diffstat (limited to 'src/Middleware/LegacyMiddleware.php')
-rw-r--r--src/Middleware/LegacyMiddleware.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php
index de16e557..bd3987d2 100644
--- a/src/Middleware/LegacyMiddleware.php
+++ b/src/Middleware/LegacyMiddleware.php
@@ -69,9 +69,6 @@ class LegacyMiddleware implements MiddlewareInterface
$page = $appRequest->path();
$page = str_replace('-', '_', $page);
}
- if ($page == '/') {
- $page = $this->auth->user() ? config('home_site') : 'login';
- }
$title = $content = '';
if (