Merge "Allow the Horizon SESSION_TIMEOUT to be configured"
This commit is contained in:
commit
9b5c4fce86
@ -35,6 +35,10 @@ horizon_service_name: horizon
|
||||
horizon_galera_database: dash
|
||||
horizon_galera_user: dash
|
||||
|
||||
## Session configuration
|
||||
# Specifies the timespan in seconds inactivity, until a user is considered as
|
||||
# logged out
|
||||
horizon_session_timeout: 1800
|
||||
|
||||
## Horizon Help URL Path
|
||||
horizon_help_url: http://docs.openstack.org
|
||||
|
@ -39,6 +39,9 @@ ALLOWED_HOSTS = ['*']
|
||||
CSRF_COOKIE_SECURE = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
|
||||
# Define the time after which a Horizon session expires
|
||||
SESSION_TIMEOUT = {{ horizon_session_timeout }}
|
||||
|
||||
# Overrides for OpenStack API versions. Use this setting to force the
|
||||
# OpenStack dashboard to use a specific API version for a given service API.
|
||||
# NOTE: The version should be formatted as it appears in the URL for the
|
||||
|
Loading…
x
Reference in New Issue
Block a user