diff --git a/mia_core/views.py b/mia_core/views.py index 95f2573..f83706f 100644 --- a/mia_core/views.py +++ b/mia_core/views.py @@ -51,7 +51,7 @@ def logout(request): if "next" in request.POST: request.session["logout"] = True return redirect(request.POST["next"]) - return redirect(reverse("home")) + return redirect("home") # TODO: To be removed.