#16262: ValueError when authenticating
------------------------------------+------------------------------
Reporter: mitar | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: contrib.auth
Version: 1.3 | Severity: Normal
Resolution: | Keywords: auth backend
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 1
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------+------------------------------
Comment (by mitar):
Of course they have. The syntax is `$algorithm$salt$hash`. But it is not
really important here. Important is that check does not fail for any input
hash string with an exception, but with returning `True` or `False`.
I do not think tests are necessary here as we are just making function
more robust for any type of the input.
--
Ticket URL: <https://code.djangoproject.com/ticket/16262#comment:9>
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.