Skip to content

Commit

Permalink
Merge pull request TryGhost#1695 from sebgie/gravatar-ssl
Browse files Browse the repository at this point in the history
Remove fixed scheme from gravatar url
  • Loading branch information
ErisDS committed Dec 18, 2013
2 parents 96f2465 + 05ca5ed commit 5742181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5742181

Please sign in to comment.