Skip to content

Commit

Permalink
Remove redirecting to "next"
Browse files Browse the repository at this point in the history
This wasn't even particularly working
  • Loading branch information
mouse-reeve committed Jul 14, 2022
1 parent aa57960 commit 5ecd75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookwyrm/views/landing/login.py
Expand Up @@ -58,7 +58,7 @@ def post(self, request):
user.update_active_date()
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(
Expand Down

0 comments on commit 5ecd75e

Please sign in to comment.