mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
Fixed gravatar hash to lowercase the email address.
http://en.gravatar.com/site/implement/images/python/
This commit is contained in:
parent
29d9ff46e8
commit
a681c4ffbd
1 changed files with 1 additions and 1 deletions
|
@ -2014,7 +2014,7 @@ class MSocialServices(mongo.Document):
|
||||||
},
|
},
|
||||||
'gravatar': {
|
'gravatar': {
|
||||||
'gravatar_picture_url': "https://www.gravatar.com/avatar/" + \
|
'gravatar_picture_url': "https://www.gravatar.com/avatar/" + \
|
||||||
hashlib.md5(user.email).hexdigest()
|
hashlib.md5(user.email.lower()).hexdigest()
|
||||||
},
|
},
|
||||||
'upload': {
|
'upload': {
|
||||||
'upload_picture_url': self.upload_picture_url
|
'upload_picture_url': self.upload_picture_url
|
||||||
|
|
Loading…
Add table
Reference in a new issue