mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Allow recv_connect on the base socket namespace
This commit is contained in:
parent
7d63f1dbf0
commit
ba06fc0f69
@ -52,7 +52,7 @@ class TowerBaseNamespace(BaseNamespace):
|
||||
if len(valid_sockets) > 1000:
|
||||
valid_sockets = valid_sockets[1:]
|
||||
return set(['recv_connect'] + self.get_allowed_methods())
|
||||
return set()
|
||||
return set(['recv_connect'])
|
||||
|
||||
def valid_user(self):
|
||||
if 'HTTP_COOKIE' not in self.environ:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user