Loading src/passwords/PWDv1Challenge.js +2 −2 Original line number Diff line number Diff line Loading @@ -12,8 +12,8 @@ export default class PWDv1Challenge extends BasePWDv1Challenge { } _validatePasswordLength() { if (this._password.length < 8) throw new Error('Password is too short') if (this._password.length > 128) throw new Error('Password is too long') if (this._password.length < 12) throw new Error('Password is too small.') if (this._password.length > 128) throw new Error('Password is too large.') } solve() { Loading Loading
src/passwords/PWDv1Challenge.js +2 −2 Original line number Diff line number Diff line Loading @@ -12,8 +12,8 @@ export default class PWDv1Challenge extends BasePWDv1Challenge { } _validatePasswordLength() { if (this._password.length < 8) throw new Error('Password is too short') if (this._password.length > 128) throw new Error('Password is too long') if (this._password.length < 12) throw new Error('Password is too small.') if (this._password.length > 128) throw new Error('Password is too large.') } solve() { Loading