navigate on login
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user