mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 05:59:28 -02:30
Fixing cookie settings for CSRF and auth token
This commit is contained in:
@@ -189,6 +189,9 @@ JOB_EVENT_MAX_QUEUE_SIZE = 10000
|
||||
# Disallow sending session cookies over insecure connections
|
||||
SESSION_COOKIE_SECURE = True
|
||||
|
||||
# Do not allow non-browser clients to read the CSRF cookie.
|
||||
CSRF_COOKIE_HTTPONLY = True
|
||||
|
||||
# Disallow sending csrf cookies over insecure connections
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user