mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
properly enforce CSRF validation
see: https://github.com/ansible/tower/issues/2339
This commit is contained in:
@@ -39,9 +39,6 @@ class SessionAuthentication(authentication.SessionAuthentication):
|
||||
def authenticate_header(self, request):
|
||||
return 'Session'
|
||||
|
||||
def enforce_csrf(self, request):
|
||||
return None
|
||||
|
||||
|
||||
class LoggedOAuth2Authentication(OAuth2Authentication):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user