0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00

Remove fixed scheme from gravatar url

no issue
- removed scheme from gravatar url

Reason:
Gravatar supports ssl and the fixed scheme will cause ‚insecure
content‘ warnings.
This commit is contained in:
Sebastian Gierlinger 2013-12-17 17:21:00 +01:00
parent 96f246533b
commit 05ca5edeeb

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