1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/forgejo_ynh.git synced 2024-09-03 18:36:26 +02:00

fix: use user email when auto-regitering

This commit is contained in:
Emmanuel Averty 2023-03-15 14:47:35 +01:00 committed by grosmanal
parent dc63555498
commit 5e03bb822e

View file

@ -42,8 +42,9 @@ ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = true DISABLE_REGISTRATION = true
ENABLE_CAPTCHA = false ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false REQUIRE_SIGNIN_VIEW = false
ENABLE_REVERSE_PROXY_AUTHENTICATION = false ENABLE_REVERSE_PROXY_AUTHENTICATION = true
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true
ENABLE_REVERSE_PROXY_EMAIL = true
[picture] [picture]
AVATAR_UPLOAD_PATH = __DATADIR__/data/avatars AVATAR_UPLOAD_PATH = __DATADIR__/data/avatars
@ -75,5 +76,6 @@ FILE_NAME = forgejo.log
INSTALL_LOCK = true INSTALL_LOCK = true
SECRET_KEY = __SECRET_KEY__ SECRET_KEY = __SECRET_KEY__
REVERSE_PROXY_AUTHENTICATION_USER = REMOTE-USER REVERSE_PROXY_AUTHENTICATION_USER = REMOTE-USER
REVERSE_PROXY_AUTHENTICATION_EMAIL = EMAIL
REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128 REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128
INTERNAL_TOKEN = __INTERNAL_TOKEN__ INTERNAL_TOKEN = __INTERNAL_TOKEN__