From 25dcc81e03244073760b5e197d4e656162801f77 Mon Sep 17 00:00:00 2001 From: ichisuke55 Date: Mon, 20 Feb 2023 23:22:25 +0900 Subject: [PATCH] fix: configurable CAPTCHA_ENABLE env when docker use --- configs/docker_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/docker_config.py b/configs/docker_config.py index 42fffd5..174f93c 100644 --- a/configs/docker_config.py +++ b/configs/docker_config.py @@ -61,6 +61,7 @@ legal_envvars = ( 'FILESYSTEM_SESSIONS_ENABLED', 'SESSION_COOKIE_SECURE', 'CSRF_COOKIE_SECURE', + 'CAPTCHA_ENABLE', ) legal_envvars_int = ('PORT', 'MAIL_PORT', 'SAML_METADATA_CACHE_LIFETIME') @@ -84,6 +85,7 @@ legal_envvars_bool = ( 'FILESYSTEM_SESSIONS_ENABLED', 'SESSION_COOKIE_SECURE', 'CSRF_COOKIE_SECURE', + 'CAPTCHA_ENABLE', ) # import everything from environment variables