UPDATE AUTH
This commit is contained in:
+5
-4
@@ -1,9 +1,10 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import AuthenticationView
|
||||
from .views import AuthenticationView, LoginView, RegisterView
|
||||
|
||||
urlpatterns = [
|
||||
path("request-otp/", AuthenticationView.as_view(), name="request-otp"),
|
||||
path("verify-otp/", AuthenticationView.as_view(), name="verify-otp"),
|
||||
path("register/", RegisterView.as_view(), name="register"),
|
||||
path("login/", LoginView.as_view(), name="login"),
|
||||
# path("request-otp/", AuthenticationView.as_view(), name="request-otp"),
|
||||
# path("verify-otp/", AuthenticationView.as_view(), name="verify-otp"),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user