diff options
author | zeripath <art27@cantab.net> | 2018-12-18 17:05:48 +0000 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-12-18 12:05:48 -0500 |
commit | 2a660a1de17daf58b8f7d58dea4b82b107b47536 (patch) | |
tree | c25a824142ce6bfa0da191b7c711b7665807ae88 /custom | |
parent | fe55ab2a6806b6a7c114378c0436bc59a31646d0 (diff) | |
download | gitea-2a660a1de17daf58b8f7d58dea4b82b107b47536.tar.gz gitea-2a660a1de17daf58b8f7d58dea4b82b107b47536.zip |
Support reverse proxy providing email (#5554)
This PR implements #2347
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.ini.sample | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index bcf633b630..0b24bf3414 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -261,6 +261,7 @@ COOKIE_USERNAME = gitea_awesome COOKIE_REMEMBER_NAME = gitea_incredible ; Reverse proxy authentication header name of user name REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER +REVERSE_PROXY_AUTHENTICATION_EMAIL = X-WEBAUTH-EMAIL ; The minimum password length for new Users MIN_PASSWORD_LENGTH = 6 ; Set to true to allow users to import local server paths @@ -323,6 +324,7 @@ ENABLE_NOTIFY_MAIL = false ; More detail: https://github.com/gogits/gogs/issues/165 ENABLE_REVERSE_PROXY_AUTHENTICATION = false ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false +ENABLE_REVERSE_PROXY_EMAIL = false ; Enable captcha validation for registration ENABLE_CAPTCHA = false ; Type of captcha you want to use. Options: image, recaptcha |