aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/user_auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/user_auth.php')
-rw-r--r--routes/user_auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/user_auth.php b/routes/user_auth.php
index 49e138b..3c3b76c 100644
--- a/routes/user_auth.php
+++ b/routes/user_auth.php
@@ -19,7 +19,7 @@ Router::getInstance()->mount('/login', function (array $args) {
// success
$session = Session::create($user);
$session->setCookie(isset($_POST['rememberSession']));
- throw new TemporaryRedirect('/');
+ throw new TemporaryRedirect('/feed/home?fl=1');
}
}
@@ -37,5 +37,5 @@ Router::getInstance()->mount('/logout', function (array $args) {
$session->clearCookie();
$session->remove();
}
- throw new TemporaryRedirect('/');
+ throw new TemporaryRedirect('/feed/global?fl=1');
}); \ No newline at end of file