Skip to content

Commit

Permalink
fix: wrong message for password required
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed Jun 10, 2020
1 parent 07cc982 commit 731d0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/views/ResetPassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default defineComponent({
autocomplete: 'new-password'
},
async validator(fields, value){
return !value ? translator.t('resetPassword.errors.passwordRequired') :
return !value ? translator.t('resetPassword.errors.newPasswordRequired') :
api.auth.checkPasswordStrength(value,
context.passwordPolicy || {})
}
Expand Down

0 comments on commit 731d0f0

Please sign in to comment.