mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
fixed typo
This commit is contained in:
@@ -119,9 +119,7 @@ export default {
|
||||
message += this.$gettext(element) + '<br>'
|
||||
})
|
||||
} else if (err.response.status === 429) {
|
||||
this.$refs.observer.setErrors({
|
||||
password: this.$gettext('Too many unsuccessful attempts, please try later.')
|
||||
})
|
||||
message = this.$gettext('Too many unsuccessful attempts, please try later.')
|
||||
}
|
||||
this.password_validation_error = message
|
||||
})
|
||||
|
||||
@@ -112,7 +112,7 @@ export default {
|
||||
this.showDialog('Error', err.response.data.reason, true)
|
||||
} else if (err.response.status === 429) {
|
||||
this.$refs.observer.setErrors({
|
||||
password: this.$gettext('Too many unsuccessful attempts, please try later.')
|
||||
email: this.$gettext('Too many unsuccessful attempts, please try later.')
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -82,7 +82,7 @@ export default {
|
||||
this.loading = false
|
||||
if (resp.status === 200) {
|
||||
this.$refs.observer.setErrors({
|
||||
password_confirmed: this.$gettext('TOTP resent.')
|
||||
sms_totp: this.$gettext('TOTP resent.')
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
this.showErrorDialog(this.$t('User seems wrong, return to login or restart reset the process?'))
|
||||
} else if (err.response.status === 429) {
|
||||
this.$refs.observer.setErrors({
|
||||
password: this.$gettext('Too many unsuccessful attempts, please try later.')
|
||||
sms_totp: this.$gettext('Too many unsuccessful attempts, please try later.')
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user