Added default CAPTCHA settings to default configuration.

Added flash_sessions directory pattern to git ignore file.
This commit is contained in:
Matt Scott 2023-02-18 19:18:59 -05:00
parent e34de31186
commit bad36b5e75
2 changed files with 9 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
flask_session
# gedit
*~

View File

@ -12,6 +12,13 @@ FILESYSTEM_SESSIONS_ENABLED = True
SESSION_COOKIE_SAMESITE = 'Lax'
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
SQLA_DB_USER = 'pda'
SQLA_DB_PASSWORD = 'changeme'