Skip to content
Browse files
Merge pull request #2225 from bookwyrm-social/login-redirect
Remove redirecting to "next"
  • Loading branch information
mouse-reeve committed Jul 14, 2022
2 parents aa57960 + 5ecd75e commit a2540e8361e685f74a6180b28348ab300d942ba6
Showing 1 changed file with 1 addition and 1 deletion.
@@ -58,7 +58,7 @@ def post(self, request):
if request.POST.get("first_login"):
return set_language(user, redirect("get-started-profile"))
return set_language(user, redirect(request.GET.get("next", "/")))
return set_language(user, redirect("/"))

# maybe the user is pending email confirmation
if models.User.objects.filter(

0 comments on commit a2540e8

Please sign in to comment.