summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/AccountModule.vue
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/AccountModule.vue')
-rw-r--r--webapp/src/components/AccountModule.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/components/AccountModule.vue b/webapp/src/components/AccountModule.vue
index 11395cb..9d22715 100644
--- a/webapp/src/components/AccountModule.vue
+++ b/webapp/src/components/AccountModule.vue
@@ -317,7 +317,7 @@ export default {
this.cancelEditPassword()
this.$snackbar({ color: 'success', text: this.$t('passwordChanged') })
}).catch(error => {
- if (error.response.data.status === 'PASSWORD_INVALID') {
+ if (error.response.data.error === 'PASSWORD_INVALID') {
this.invalidPasswordError = true
this.passwordNew = ''
this.passwordConfirm = ''