mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Add super() call
This commit is contained in:
@@ -79,7 +79,7 @@ class ActivityStreamMiddleware(MiddlewareMixin, threading.local):
|
|||||||
def __init__(self, get_response=None):
|
def __init__(self, get_response=None):
|
||||||
self.disp_uid = None
|
self.disp_uid = None
|
||||||
self.instance_ids = []
|
self.instance_ids = []
|
||||||
self.get_response = get_response
|
super().__init__(get_response)
|
||||||
|
|
||||||
def process_request(self, request):
|
def process_request(self, request):
|
||||||
if hasattr(request, 'user') and hasattr(request.user, 'is_authenticated') and request.user.is_authenticated():
|
if hasattr(request, 'user') and hasattr(request.user, 'is_authenticated') and request.user.is_authenticated():
|
||||||
|
|||||||
Reference in New Issue
Block a user