mirror of
https://github.com/gogs/gogs.git
synced 2026-05-06 18:26:58 +02:00
config: validate and print warnings for invalid options (#7705)
Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
5
internal/conf/testdata/custom.ini
vendored
5
internal/conf/testdata/custom.ini
vendored
@@ -28,9 +28,8 @@ PASSWORD = 87654321
|
||||
ACTIVATE_CODE_LIVES = 10
|
||||
RESET_PASSWORD_CODE_LIVES = 10
|
||||
REQUIRE_EMAIL_CONFIRMATION = true
|
||||
ENABLE_CAPTCHA = true
|
||||
ENABLE_NOTIFY_MAIL = true
|
||||
REVERSE_PROXY_AUTHENTICATION_HEADER=X-FORWARDED-FOR
|
||||
ENABLE_REGISTRATION_CAPTCHA = true
|
||||
REVERSE_PROXY_AUTHENTICATION_HEADER = X-FORWARDED-FOR
|
||||
|
||||
[user]
|
||||
ENABLE_EMAIL_NOTIFICATION = true
|
||||
|
||||
Reference in New Issue
Block a user