mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-26 18:01:47 -05:00
Remove auth checks for /api/ and /api/v1/ to fix auth errors in UI after logging into munin.
This commit is contained in:
@@ -64,6 +64,7 @@ def api_exception_handler(exc):
|
||||
|
||||
class ApiRootView(APIView):
|
||||
|
||||
authentication_classes = []
|
||||
permission_classes = (AllowAny,)
|
||||
view_name = 'REST API'
|
||||
|
||||
@@ -82,6 +83,7 @@ class ApiRootView(APIView):
|
||||
|
||||
class ApiV1RootView(APIView):
|
||||
|
||||
authentication_classes = []
|
||||
permission_classes = (AllowAny,)
|
||||
view_name = 'Version 1'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user