From c01c5c41ce910cf4bb1d5e102ca9d4b97109b33f Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 25 Aug 2022 13:53:55 -0700 Subject: [PATCH] Disable Gravatar in Gitea We do this to prevent lookups to third parties for information in this case avatar info. We should verify this doesn't break local avatar storage usage which we manage directly. Change-Id: I612bf1629bd211ed14203cc9e39f34ba0be041bf --- playbooks/roles/gitea/templates/app.ini.j2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/playbooks/roles/gitea/templates/app.ini.j2 b/playbooks/roles/gitea/templates/app.ini.j2 index 7cbbd3417f..bbae8350ef 100644 --- a/playbooks/roles/gitea/templates/app.ini.j2 +++ b/playbooks/roles/gitea/templates/app.ini.j2 @@ -53,9 +53,8 @@ PROVIDER_CONFIG = /data/gitea/sessions PROVIDER = file [picture] -AVATAR_UPLOAD_PATH = /data/gitea/avatars -DISABLE_GRAVATAR = false -ENABLE_FEDERATED_AVATAR = true +AVATAR_UPLOAD_PATH = /data/gitea/avatars +DISABLE_GRAVATAR = true [attachment] PATH = /data/gitea/attachments