diff --git a/packages/frontend/src/app/app.ts b/packages/frontend/src/app/app.ts index b29a81a..e1afd74 100644 --- a/packages/frontend/src/app/app.ts +++ b/packages/frontend/src/app/app.ts @@ -29,7 +29,7 @@ export class App { effect(() => { const loggedIn = this.auth.loggedIn(); if (!loggedIn) { - this.auth.login(); + this.auth.login(window.location.pathname ?? undefined); } }); }