Skip to content

Commit

Permalink
Remove original password length validation when changing password (close
Browse files Browse the repository at this point in the history
  • Loading branch information
James Calfee committed Sep 22, 2016
1 parent 5df054a commit 40ce6cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/components/elements/ChangePassword.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ import {PublicKey} from 'shared/ecc'
let newWif = null
const keyValidate = (values) => ({
password: ! values.password ? 'Required' :
values.password.length < 16 ? 'Password must be 16 characters or more' :
PublicKey.fromString(values.password) ? 'You need a private password or key (not a public key)' :
null,
confirmPassword: ! values.confirmPassword ? 'Required' :
Expand Down

0 comments on commit 40ce6cb

Please sign in to comment.