#18453: Unknown password hashing algorithm error if password is blank
------------------------------+--------------------------------------
Reporter: Leo | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Comment (by Leo):
Sorry, to clarify, it hits the ValueError which results in a 500:
{{{
File "/foo/lib/python2.7/site-packages/django/contrib/auth/hashers.py",
line 115, in get_hasher
"setting?" % algorithm)
File "/foo/lib/python2.7/site-packages/django/contrib/auth/hashers.py",
line 42, in check_password
hasher = get_hasher(algorithm)
File "/foo/lib/python2.7/site-packages/django/contrib/auth/models.py",
line 304, in check_password
return check_password(raw_password, self.password, setter)
}}}
That happens because the algorithm ends up being !''
--
Ticket URL: <https://code.djangoproject.com/ticket/18453#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.