Fix success msg not displaying after password reset

This commit is contained in:
Bubka 2020-02-10 23:36:16 +01:00
parent 7306363491
commit 332420bb9a

View File

@ -64,7 +64,7 @@
this.form.post('/api/password/reset', {returnError: true}) this.form.post('/api/password/reset', {returnError: true})
.then(response => { .then(response => {
this.$router.go('/'); this.success = response.data.status
}) })
.catch(error => { .catch(error => {
if( error.response.data.resetFailed ) { if( error.response.data.resetFailed ) {