Commit 87280a0c authored by Luc Knol's avatar Luc Knol
Browse files

Login page not visible anymore when logged-in

parent 8d263dcd
...@@ -74,7 +74,10 @@ urlpatterns = [ ...@@ -74,7 +74,10 @@ urlpatterns = [
[ [
path( path(
"login/", "login/",
LoginView.as_view(authentication_form=AuthenticationForm), LoginView.as_view(
authentication_form=AuthenticationForm,
redirect_authenticated_user=True,
),
name="login", name="login",
), ),
path("", include("django.contrib.auth.urls")), path("", include("django.contrib.auth.urls")),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment