mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 06:49:35 +00:00
[toast] adding parsing function
This commit is contained in:
1 parent
f5f787b5fe
commit
f40065ffd1
18 files changed
+21
-21
No files matched your search
@@ -47,7 +47,7 @@ export default {
|
||||
await this.$store.dispatch('auth/forgotPassword', this.credentials)
|
||||
this.$router.push({name: 'Forgot success', query: {email: this.credentials.email}})
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
this.$toast.error(this.$parseError(error))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
this.$router.push({ name: 'Login' })
|
||||
this.$toast.success('Your password has been successfully changed.')
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
this.$toast.error(this.$parseError(error))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user