fix: Fix user redirect to signin bug (#4623)

This commit is contained in:
Mutasem Aldmour
2022-11-16 14:21:49 +01:00
committed by GitHub
parent b4cec38ee8
commit 402b75ac28
2 changed files with 6 additions and 4 deletions

View File

@@ -91,9 +91,9 @@ export default mixins(
throw e;
}
},
loginWithCookie(): void {
async loginWithCookie(): Promise<void> {
try {
this.usersStore.loginWithCookie();
await this.usersStore.loginWithCookie();
} catch (e) {}
},
async initTemplates(): Promise<void> {