Skip to content

Commit

Permalink
There's no /login/
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod committed Oct 14, 2024
1 parent 8cc21a0 commit 5111237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/api/generics.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get(self, request, *args, **kwargs):
next = request.GET.get('next', "")
if next:
next = f"?next={next}"
return redirect(f"/login{next}")
return redirect(f"/{next}")

# The django.auth.contrib login form doesn't perform the content
# negotiation we've come to expect from DRF; add in code to catch
Expand Down

0 comments on commit 5111237

Please sign in to comment.