1
0

Fix password reset

This commit is contained in:
kolaente
2020-12-30 21:43:43 +01:00
parent 60c21cc36a
commit 624e4e6d27
3 changed files with 6 additions and 4 deletions

View File

@ -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 => {