Browse Source

Fixed email hashes for gravatar.

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

+ 1 - 4
misago/users/utils.py

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