Merge pull request #1695 from sebgie/gravatar-ssl

Remove fixed scheme from gravatar url
This commit is contained in:
Hannah Wolfe 2013-12-18 03:45:48 -08:00
commit 574218130a

View File

@ -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();