mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Merge pull request #1695 from sebgie/gravatar-ssl
Remove fixed scheme from gravatar url
This commit is contained in:
commit
574218130a
@ -357,7 +357,7 @@ User = ghostBookshelf.Model.extend({
|
||||
},
|
||||
|
||||
gravatarLookup: function (userData) {
|
||||
var gravatarUrl = 'http://www.gravatar.com/avatar/' +
|
||||
var gravatarUrl = '//www.gravatar.com/avatar/' +
|
||||
crypto.createHash('md5').update(userData.email.toLowerCase().trim()).digest('hex') +
|
||||
"?d=404",
|
||||
checkPromise = when.defer();
|
||||
|
Loading…
Reference in New Issue
Block a user