feat: add configuration value 'SESSION_COOKIE_AGE'

!20
This commit is contained in:
2024-06-07 21:27:33 +09:30
parent d0e8e9a674
commit 8b887575c9
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ ALLOWED_HOSTS = [ '*' ] # Site host to serve
DEBUG = False # SECURITY WARNING: don't run with debug turned on in production!
SITE_URL = 'http://127.0.0.1' # domain with HTTP method for the sites URL
SECRET_KEY = None # You need to generate this
SESSION_COOKIE_AGE = 1209600 # Age the session cookie should live for in seconds.
SSO_ENABLED = False # Enable SSO
SSO_LOGIN_ONLY_BACKEND = None # Use specified SSO backend as the ONLY method to login. (builting login form will not be used)
TRUSTED_ORIGINS = [] # list of trusted domains for CSRF