Skip to content

Commit

Permalink
missed users urls file
Browse files Browse the repository at this point in the history
  • Loading branch information
ivancrneto committed May 26, 2024
1 parent 5001ebd commit b60ca52
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions users/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from django.contrib.auth.views import auth_login, auth_logout, logout_then_login
from django.urls import path

from users import views

urlpatterns = [
path("login/", auth_login, name="login"),
path("logout/", logout_then_login, {"login_url": "/"}, name="logout"),
path("confirm/", views.confirm),
]

0 comments on commit b60ca52

Please sign in to comment.