navigate on login

This commit is contained in:
toni
2026-03-19 22:02:20 +01:00
parent e3184be911
commit 911bbeaa66
+1 -1
View File
@@ -29,7 +29,7 @@ export class App {
effect(() => { effect(() => {
const loggedIn = this.auth.loggedIn(); const loggedIn = this.auth.loggedIn();
if (!loggedIn) { if (!loggedIn) {
this.auth.login(); this.auth.login(window.location.pathname ?? undefined);
} }
}); });
} }