diff options
| author | winter | 2025-03-20 22:17:38 +0000 |
|---|---|---|
| committer | winter | 2025-03-20 22:17:38 +0000 |
| commit | b5c4e99cb1a2e5bb5cf6d38192d677843b1acd80 (patch) | |
| tree | 3aee1e8b4961abe6e8c6b84913b04c9396b11b4e /routes/user_auth.php | |
| parent | c10a1ea700a94e4eff8b10985cd402943ad07859 (diff) | |
fix various htmx navigation / page reloads
also i added a UserAccount::setPassword because i felt like it
Diffstat (limited to 'routes/user_auth.php')
| -rw-r--r-- | routes/user_auth.php | 4 |
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 |
