config: validate and print warnings for invalid options (#7705)

Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
pikomonde
2026-01-28 23:36:03 +07:00
committed by GitHub
parent ae41bab5f2
commit df3d945a2c
4 changed files with 134 additions and 3 deletions

View File

@@ -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