web/satellite: logout after password reset added

Change-Id: I2522161e9cc7f657cd4df89d136f425239f10852
This commit is contained in:
NickolaiYurchenko 2022-01-21 16:23:51 +02:00 committed by Nikolay Yurchenko
parent 3cd8e46e75
commit 778e7e100d

View File

@ -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);