mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 11:05:32 +00:00
Added default CAPTCHA settings to default configuration.
Added flash_sessions directory pattern to git ignore file.
This commit is contained in:
parent
e34de31186
commit
bad36b5e75
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
|
flask_session
|
||||||
|
|
||||||
# gedit
|
# gedit
|
||||||
*~
|
*~
|
||||||
|
|
||||||
|
@ -12,6 +12,13 @@ FILESYSTEM_SESSIONS_ENABLED = True
|
|||||||
SESSION_COOKIE_SAMESITE = 'Lax'
|
SESSION_COOKIE_SAMESITE = 'Lax'
|
||||||
CSRF_COOKIE_HTTPONLY = True
|
CSRF_COOKIE_HTTPONLY = True
|
||||||
|
|
||||||
|
#CAPTCHA Config
|
||||||
|
CAPTCHA_ENABLE = True
|
||||||
|
CAPTCHA_LENGTH = 6
|
||||||
|
CAPTCHA_WIDTH = 160
|
||||||
|
CAPTCHA_HEIGHT = 60
|
||||||
|
CAPTCHA_SESSION_KEY = 'captcha_image'
|
||||||
|
|
||||||
### DATABASE CONFIG
|
### DATABASE CONFIG
|
||||||
SQLA_DB_USER = 'pda'
|
SQLA_DB_USER = 'pda'
|
||||||
SQLA_DB_PASSWORD = 'changeme'
|
SQLA_DB_PASSWORD = 'changeme'
|
||||||
|
Loading…
Reference in New Issue
Block a user