mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Expose login redirect URL in unauthenticated /api view
This commit is contained in:
parent
ab2f212b04
commit
732da52239
@ -60,6 +60,7 @@ class ApiRootView(APIView):
|
||||
data['oauth2'] = drf_reverse('api:oauth_authorization_root_view')
|
||||
data['custom_logo'] = settings.CUSTOM_LOGO
|
||||
data['custom_login_info'] = settings.CUSTOM_LOGIN_INFO
|
||||
data['login_redirect_override'] = settings.LOGIN_REDIRECT_OVERRIDE
|
||||
return Response(data)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user