tarak / django-password-policies

Django unicode-aware password policies.
Other
59 stars 92 forks source link

One character password error fix #21

Closed tpeaton closed 9 years ago

tpeaton commented 9 years ago

I found a small bug when a one character password is attempted. A ZeroDivisionError is raised instead of the validator message. I fixed a couple of minor typos while I was at it. Let me know if you need me to do anything else before this can be merged. Thanks!

tpeaton commented 9 years ago

BTW, the whitespace deletions were from my text editor.

tpeaton commented 9 years ago

Addresses https://github.com/tarak/django-password-policies/issues/22

tpeaton commented 9 years ago

@tarak, once merged, would you mind rolling a new release so I can get this into production? Thanks!

tarak commented 9 years ago

Will upload to pypi tomorrow... Thx