mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 21:46:00 -03:30
properly enforce CSRF validation
see: https://github.com/ansible/tower/issues/2339
This commit is contained in:
@@ -207,6 +207,8 @@ SESSION_COOKIE_AGE = 1209600
|
||||
# Note: This setting may be overridden by database settings.
|
||||
SESSIONS_PER_USER = -1
|
||||
|
||||
CSRF_USE_SESSIONS = False
|
||||
|
||||
# Disallow sending csrf cookies over insecure connections
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user