Skip to content

Commit

Permalink
SSO login should redirect to new UI index (ansible#15456)
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
  • Loading branch information
fosterseth authored Aug 21, 2024
1 parent c5c617b commit 500b1c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/sso/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BaseRedirectView(RedirectView):
def get_redirect_url(self, *args, **kwargs):
last_path = self.request.COOKIES.get('lastPath', '')
last_path = urllib.parse.quote(urllib.parse.unquote(last_path).strip('"'))
url = reverse('ui:index')
url = reverse('ui_next:index')
if last_path:
return '%s#%s' % (url, last_path)
else:
Expand Down

0 comments on commit 500b1c4

Please sign in to comment.