Add support for using "libravatar" as the GravatarSource

Just to make it easier for administrator to configure libre avatar,
as it is done for "duoshuo" and "gravatar"
tokarchuk/v1.17
Sandro Santilli 8 years ago
parent 578a8e258e
commit 608a60fb94
  1. 2
      modules/setting/setting.go

@ -544,6 +544,8 @@ please consider changing to GITEA_CUSTOM`)
GravatarSource = "http://gravatar.duoshuo.com/avatar/"
case "gravatar":
GravatarSource = "https://secure.gravatar.com/avatar/"
case "libravatar":
GravatarSource = "https://seccdn.libravatar.org/avatar/"
default:
GravatarSource = source
}

Loading…
Cancel
Save