View updates

This commit is contained in:
2022-12-10 18:15:24 +01:00
parent ad0bc8a945
commit 1a27bedc95
7 changed files with 15 additions and 17 deletions

View File

@@ -50,11 +50,10 @@ export class LoginPageComponent implements OnInit {
email: responsePayload.email,
avatar: responsePayload.picture
});
await this.auth$.getAPIToken(response.credential);
this.auth$.ping();
this.ngZone$.run(() => {
this.router$.navigate(['/app']);
});
await this.auth$.getAPIToken(response.credential);
} catch (e) {
console.error('Get user error', e);
}