From 5e03bb822e618a7f0f16dc0de836e6e80c3f1198 Mon Sep 17 00:00:00 2001 From: Emmanuel Averty Date: Wed, 15 Mar 2023 14:47:35 +0100 Subject: [PATCH] fix: use user email when auto-regitering --- conf/app.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/app.ini b/conf/app.ini index 6e55c06..b305097 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -42,8 +42,9 @@ ENABLE_NOTIFY_MAIL = true DISABLE_REGISTRATION = true ENABLE_CAPTCHA = false REQUIRE_SIGNIN_VIEW = false -ENABLE_REVERSE_PROXY_AUTHENTICATION = false +ENABLE_REVERSE_PROXY_AUTHENTICATION = true ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true +ENABLE_REVERSE_PROXY_EMAIL = true [picture] AVATAR_UPLOAD_PATH = __DATADIR__/data/avatars @@ -75,5 +76,6 @@ FILE_NAME = forgejo.log INSTALL_LOCK = true SECRET_KEY = __SECRET_KEY__ REVERSE_PROXY_AUTHENTICATION_USER = REMOTE-USER +REVERSE_PROXY_AUTHENTICATION_EMAIL = EMAIL REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128 INTERNAL_TOKEN = __INTERNAL_TOKEN__