fix(frontend): Redirect na login
Na de login moet de gebruiker naar `/user` i.p.v. `/` geredirect worden
This commit is contained in:
parent
0661e705b3
commit
d8e5fed2fe
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
try {
|
try {
|
||||||
await auth.handleLoginCallback();
|
await auth.handleLoginCallback();
|
||||||
await router.replace("/"); // Redirect to home (or dashboard)
|
await router.replace("/user"); // Redirect to theme page
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("OIDC callback error:", error);
|
console.error("OIDC callback error:", error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue