mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
Merge pull request #2225 from bookwyrm-social/login-redirect
Remove redirecting to "next"
This commit is contained in:
commit
a2540e8361
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue