fix(frontend): Redirect na login

Na de login moet de gebruiker naar `/user` i.p.v. `/` geredirect worden
This commit is contained in:
Gerald Schmittinger 2025-03-26 11:30:17 +01:00 committed by GitHub
parent 0661e705b3
commit d8e5fed2fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@
onMounted(async () => {
try {
await auth.handleLoginCallback();
await router.replace("/"); // Redirect to home (or dashboard)
await router.replace("/user"); // Redirect to theme page
} catch (error) {
console.error("OIDC callback error:", error);
}