Skip to content

Commit

Permalink
placate flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
zenmonkeykstop committed Aug 17, 2021
1 parent fe9bf16 commit d676621
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion securedrop/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ def valid_password(self, passphrase: 'Optional[str]') -> bool:
if not passphrase:
return False


# Avoid hashing passwords that are over the maximum length
if len(passphrase) > self.MAX_PASSWORD_LEN:
raise InvalidPasswordLength(passphrase)
Expand Down

0 comments on commit d676621

Please sign in to comment.