Updated packages. Added new session type
This commit is contained in:
@@ -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 = ['*']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user