Fix password reset
This commit is contained in:
parent
60c21cc36a
commit
624e4e6d27
3 changed files with 6 additions and 4 deletions
|
|
@ -96,7 +96,7 @@ export default {
|
|||
let passwordReset = new PasswordResetModel({newPassword: this.credentials.password})
|
||||
this.passwordResetService.resetPassword(passwordReset)
|
||||
.then(response => {
|
||||
this.successMessage = response.data.message
|
||||
this.successMessage = response.message
|
||||
localStorage.removeItem('passwordResetToken')
|
||||
})
|
||||
.catch(e => {
|
||||
|
|
|
|||
Reference in a new issue