Skip to content

Commit

Permalink
Merge pull request #28 from ocf/cracklib
Browse files Browse the repository at this point in the history
Switch back to VeryFascistCheck
  • Loading branch information
chriskuehl committed Aug 25, 2016
2 parents f14475f + f9a6d79 commit 2e533d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocflib/account/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def validate_password(username, password, strength_check=True):
raise ValueError('Password is too similar to username')

try:
cracklib.FascistCheck(password)
cracklib.VeryFascistCheck(password)
except ValueError as e:
raise ValueError('Password problem: {}'.format(e))

Expand Down

0 comments on commit 2e533d5

Please sign in to comment.