Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #17777. Unsalted MD5 display widget correction.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bf1112de7d0618ece5c107627ff18b1c0d098f85 1 parent aba9ebc
Paul McMillan authored March 12, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/auth/forms.py
2  django/contrib/auth/forms.py
@@ -29,7 +29,7 @@ def render(self, name, value, attrs):
29 29
         encoded = smart_str(encoded)
30 30
 
31 31
         if len(encoded) == 32 and '$' not in encoded:
32  
-            hasher = get_hasher('md5')
  32
+            hasher = get_hasher('unsalted_md5')
33 33
         else:
34 34
             algorithm = encoded.split('$', 1)[0]
35 35
             hasher = get_hasher(algorithm)

0 notes on commit bf1112d

Please sign in to comment.
Something went wrong with that request. Please try again.