fix: redirection for users already logged in

This commit is contained in:
Rômulo Mendes Figueiredo 2025-03-20 16:05:26 -03:00
parent b03fc97e28
commit c4c6e02b4c

View File

@ -140,7 +140,8 @@
onMount(async () => {
if ($user !== undefined) {
await goto('/');
const redirectPath = querystringValue('redirect') || '/';
goto(redirectPath);
}
await checkOauthCallback();