From 778e7e100d637e491f19bf377e8d8a2ebdba3096 Mon Sep 17 00:00:00 2001 From: NickolaiYurchenko Date: Fri, 21 Jan 2022 16:23:51 +0200 Subject: [PATCH] web/satellite: logout after password reset added Change-Id: I2522161e9cc7f657cd4df89d136f425239f10852 --- web/satellite/src/views/ResetPassword.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/web/satellite/src/views/ResetPassword.vue b/web/satellite/src/views/ResetPassword.vue index 4b3e1aedf..539afefd0 100644 --- a/web/satellite/src/views/ResetPassword.vue +++ b/web/satellite/src/views/ResetPassword.vue @@ -139,6 +139,7 @@ export default class ResetPassword extends Vue { try { await this.auth.resetPassword(this.token, this.password); + await this.auth.logout(); this.$store.dispatch(APP_STATE_ACTIONS.TOGGLE_SUCCESSFUL_PASSWORD_RESET); } catch (error) { await this.$notify.error(error.message);