1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-12 13:37:20 +00:00

Use identicon image for default gravatar. (#2767)

* Use identicon image for default gravatar.

* Fixed tests.
This commit is contained in:
harry
2017-10-23 03:50:07 -05:00
committed by Bo-Yi Wu
parent e4990ba205
commit 81d1e54a49
3 changed files with 4 additions and 4 deletions

View File

@ -211,7 +211,7 @@ func AvatarLink(email string) string {
}
if !setting.DisableGravatar {
return setting.GravatarSource + HashEmail(email)
return setting.GravatarSource + HashEmail(email) + "?d=identicon"
}
return DefaultAvatarLink()