Enabling simultaneous platform and containerized horizon access

Renaming the session and CSRF cookies on the containerized
horizon so they don't conflict with platform horizon

Change-Id: I24eaa5f0563baa148bfaef24325af89f177dc0b0
Story: 2004520
Task: 28259
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
This commit is contained in:
Tyler Smith
2018-12-17 10:31:41 -05:00
parent a703e9d4c5
commit 0995561c38
2 changed files with 10 additions and 0 deletions

View File

@@ -2268,6 +2268,11 @@ data:
STATIC_ROOT = '/var/www/html/horizon'
# StarlingX additions
# Change session and CSRF cookie names to prevent conflict with
# platform horizon
CSRF_COOKIE_NAME = 'appcsrftoken'
SESSION_COOKIE_NAME = 'appsessionid'
#OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
#present OPENSTACK_API_VERSIONS={"identity":3}

View File

@@ -2266,6 +2266,11 @@ data:
STATIC_ROOT = '/var/www/html/horizon'
# StarlingX additions
# Change session and CSRF cookie names to prevent conflict with
# platform horizon
CSRF_COOKIE_NAME = 'appcsrftoken'
SESSION_COOKIE_NAME = 'appsessionid'
#OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
#present OPENSTACK_API_VERSIONS={"identity":3}