diff options
author | Arnaud ABELARD <arnaud.abelard@univ-nantes.fr> | 2014-04-12 23:10:45 +0200 |
---|---|---|
committer | Arnaud ABELARD <arnaud.abelard@univ-nantes.fr> | 2014-04-12 23:10:45 +0200 |
commit | 5d7bdf76426488f3229bb1f97aaa54a676cbf166 (patch) | |
tree | 642392bf8acd9a10c34cf48a7d9166d4b9d1659f /config | |
parent | 0f31acd0ec9b8a6ccfe9c6b0038736ad724814c0 (diff) | |
download | gitlab-ce-5d7bdf76426488f3229bb1f97aaa54a676cbf166.tar.gz |
allow using the user's email address as a http parameter in gravatar urls for custom avatar systems. For example:
plain_url: "http://avatar.company.com/avatar/?mail=%{email}&size=%{size}"
add mention of the different placeholders possible for gravatar urls, mentionning the new %{email}
Diffstat (limited to 'config')
-rw-r--r-- | config/gitlab.yml.example | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index f30ef528c9d..11df7a5ff15 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -117,6 +117,7 @@ production: &base ## Gravatar gravatar: enabled: true # Use user avatar image from Gravatar.com (default: true) + # gravatar urls: possible placeholders: %{hash} %{size} %{email} # plain_url: "http://..." # default: http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=mm # ssl_url: "https://..." # default: https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=mm |