Set SESSION_COOKIE_NAME by default

Make sure to use a different session cookie name then the default, to
avoid overlapping cookies with other django apps that might be running.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger
2021-11-15 12:58:14 -05:00
parent aec7ac6ebd
commit 59c6f35b0b

View File

@@ -242,6 +242,9 @@ SUBSYSTEM_METRICS_INTERVAL_SAVE_TO_REDIS = 2
# The maximum allowed jobs to start on a given task manager cycle
START_TASK_LIMIT = 100
# Name of our session cookie
SESSION_COOKIE_NAME = 'awxsessionid'
# Disallow sending session cookies over insecure connections
SESSION_COOKIE_SECURE = True