mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
pdns-admin: catch up with upstream changes
Captcha seems to be mandatory for now.
This commit is contained in:
parent
b1f97c95c7
commit
b604c907bd
2 changed files with 13 additions and 1 deletions
|
@ -39,4 +39,5 @@ RUN envtpl < /config.py.tpl > /opt/powerdns-admin/config.py \
|
|||
RUN yarn install --pure-lockfile --production \
|
||||
&& yarn cache clean \
|
||||
&& flask assets build \
|
||||
&& chown -R uwsgi: /opt/powerdns-admin/powerdnsadmin/static/.webassets-cache
|
||||
&& chown -R uwsgi: /opt/powerdns-admin/powerdnsadmin/static/.webassets-cache \
|
||||
&& chown -R uwsgi: /opt/powerdns-admin/flask_session
|
||||
|
|
|
@ -6,6 +6,17 @@ BIND_ADDRESS = '0.0.0.0'
|
|||
PORT = 9191
|
||||
HSTS_ENABLED = False
|
||||
|
||||
# CAPTCHA Config
|
||||
CAPTCHA_ENABLE = True
|
||||
CAPTCHA_LENGTH = 6
|
||||
CAPTCHA_WIDTH = 160
|
||||
CAPTCHA_HEIGHT = 60
|
||||
CAPTCHA_SESSION_KEY = 'captcha_image'
|
||||
|
||||
# Server side sessions tracking
|
||||
# Set to TRUE for CAPTCHA, or enable another stateful session tracking system
|
||||
FILESYSTEM_SESSIONS_ENABLED = True
|
||||
|
||||
# SAML Authnetication
|
||||
SAML_ENABLED = False
|
||||
|
||||
|
|
Loading…
Reference in a new issue