change: change loginserializer

This commit is contained in:
behruz-dev
2025-08-30 16:41:44 +05:00
parent 08e6bf695d
commit 0e52537b89
4 changed files with 33 additions and 6 deletions

View File

@@ -1,11 +1,9 @@
from django.urls import path, include
from rest_framework_simplejwt.views import TokenObtainPairView
from core.apps.accounts import views
urlpatterns = [
path('login/', TokenObtainPairView.as_view()),
path('login/', views.CustomTokenObtainPairView.as_view()),
path('register/', views.RegisterApiView.as_view()),
path('confirm_user/', views.ConfirmUserApiView.as_view()),
]