aboutsummaryrefslogtreecommitdiff
path: root/src/components/password_reset/password_reset.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-09-04 08:38:13 +0000
committerShpuld Shpludson <shp@cock.li>2020-09-04 08:38:13 +0000
commite331db79e50d4056cf61baa5ece88ad74e7e7fcf (patch)
tree5ed760ab6d5b267625169bffc424103a891a8b41 /src/components/password_reset/password_reset.js
parentc89ac79140e059f89d4da88ce49c9bb24db4cc20 (diff)
parenta73b09c73202117ffa3fecf7a9185981d6696912 (diff)
Merge branch 'develop' into 'fix/wait-for-request-before-starting-interval'
# Conflicts: # CHANGELOG.md
Diffstat (limited to 'src/components/password_reset/password_reset.js')
-rw-r--r--src/components/password_reset/password_reset.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/password_reset/password_reset.js b/src/components/password_reset/password_reset.js
index 62e74e30..5d21d720 100644
--- a/src/components/password_reset/password_reset.js
+++ b/src/components/password_reset/password_reset.js
@@ -47,11 +47,6 @@ const passwordReset = {
if (status === 204) {
this.success = true
this.error = null
- } else if (status === 404 || status === 400) {
- this.error = this.$t('password_reset.not_found')
- this.$nextTick(() => {
- this.$refs.email.focus()
- })
} else if (status === 429) {
this.throttled = true
this.error = this.$t('password_reset.too_many_requests')