mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
fix email hash of gravatar
This commit is contained in:
parent
3cc5dd417c
commit
8054c27d56
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ Gravatar = {
|
|||
|
||||
var protocol = options.secure ? 'https' : 'http';
|
||||
delete options.secure;
|
||||
var hash = user.email_hash;
|
||||
var hash = CryptoJS.MD5(getEmail(Meteor.user()).trim().toLowerCase()).toString();
|
||||
var url = protocol + '://www.gravatar.com/avatar/' + hash;
|
||||
|
||||
var params = _.map(options, function(val, key) { return key + "=" + val;}).join('&');
|
||||
|
|
Loading…
Add table
Reference in a new issue