Updated packages. Added new session type

This commit is contained in:
2025-05-09 14:53:07 -04:00
parent 86d6d2dadd
commit 09fafa59d4
9 changed files with 105 additions and 40 deletions

View File

@@ -1,4 +1,3 @@
import redis
class ApplicationConfig:
@@ -33,6 +32,8 @@ class ApplicationConfig:
SECRET_KEY = "youwillneverguessthiskeycia"
# sessions
# Available SESSION_TYPE options: 'redis', 'sqlalchemy', 'mongodb', 'filesystem', 'memcached'
SESSION_TYPE = "sqlalchemy"
SESSION_COOKIE_NAME = "eamco_session"
SESSION_COOKIE_SECURE = False
SESSION_COOKIE_HTTPONLY = True
@@ -50,5 +51,3 @@ class ApplicationConfig:
CORS_ALLOW_HEADERS = "*"
CORS_ORIGIN_WHITELIST = ['*']
WHITE = ['*']