Commit 51a11149 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

remove avatars from gravatar.com

regarding privacy this service is absolutely terrible
http://meta.stackexchange.com/questions/44717/is-gravatar-a-privacy-risk
parent ce0afc3d
module ApplicationHelper
def avatar_url(email)
default_url = "https://allgo.inria.fr/images/guest.png"
gravatar_id = Digest::MD5.hexdigest(email.downcase)
"https://gravatar.com/avatar/#{gravatar_id}.png?s=48&d=#{CGI.escape(default_url)}"
"https://allgo.inria.fr/images/guest.png"
end
def appicon_url(app)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment