mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 19:57:44 +02:00
Fix success msg not displaying after password reset
This commit is contained in:
parent
7306363491
commit
332420bb9a
@ -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 ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user