Browse Source

Fixed hashing alrogithm

Rafał Pitoń 11 years ago
parent
commit
ca3c9a17de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/users/utils.py

+ 1 - 1
misago/users/utils.py

@@ -5,4 +5,4 @@ def hash_email(email):
     email = email.lower()
     while len(email) < 15:
         email *= 2
-    return hashlib.sha256(email).hexdigest()
+    return hashlib.md5(email).hexdigest()