mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Expose login redirect URL in unauthenticated /api view
This commit is contained in:
parent
2b111c81df
commit
9c9496a683
@ -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