From 0110124b3278cc5a4bb9cde0e6636b053053b16e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 3 Aug 2021 15:01:22 +0200 Subject: [PATCH] Add an await before a router push when login Signed-off-by: Thomas Citharel --- js/src/views/User/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/views/User/Login.vue b/js/src/views/User/Login.vue index b21f28443..7d68efe42 100644 --- a/js/src/views/User/Login.vue +++ b/js/src/views/User/Login.vue @@ -259,7 +259,7 @@ export default class Login extends Vue { await initializeCurrentActor(this.$apollo.provider.defaultClient); } catch (err) { if (err instanceof NoIdentitiesException) { - this.$router.push({ + await this.$router.push({ name: RouteName.REGISTER_PROFILE, params: { email: this.currentUser.email,