Remove redirecting to "next"

This wasn't even particularly working
This commit is contained in:
Mouse Reeve 2022-07-14 12:54:02 -07:00
parent aa579605e0
commit 5ecd75ee24

View file

@ -58,7 +58,7 @@ class Login(View):
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(