mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
fix: configurable CAPTCHA_ENABLE env when docker use
This commit is contained in:
parent
bad36b5e75
commit
25dcc81e03
@ -61,6 +61,7 @@ legal_envvars = (
|
|||||||
'FILESYSTEM_SESSIONS_ENABLED',
|
'FILESYSTEM_SESSIONS_ENABLED',
|
||||||
'SESSION_COOKIE_SECURE',
|
'SESSION_COOKIE_SECURE',
|
||||||
'CSRF_COOKIE_SECURE',
|
'CSRF_COOKIE_SECURE',
|
||||||
|
'CAPTCHA_ENABLE',
|
||||||
)
|
)
|
||||||
|
|
||||||
legal_envvars_int = ('PORT', 'MAIL_PORT', 'SAML_METADATA_CACHE_LIFETIME')
|
legal_envvars_int = ('PORT', 'MAIL_PORT', 'SAML_METADATA_CACHE_LIFETIME')
|
||||||
@ -84,6 +85,7 @@ legal_envvars_bool = (
|
|||||||
'FILESYSTEM_SESSIONS_ENABLED',
|
'FILESYSTEM_SESSIONS_ENABLED',
|
||||||
'SESSION_COOKIE_SECURE',
|
'SESSION_COOKIE_SECURE',
|
||||||
'CSRF_COOKIE_SECURE',
|
'CSRF_COOKIE_SECURE',
|
||||||
|
'CAPTCHA_ENABLE',
|
||||||
)
|
)
|
||||||
|
|
||||||
# import everything from environment variables
|
# import everything from environment variables
|
||||||
|
Loading…
Reference in New Issue
Block a user