mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-28 09:50:05 +00:00
Add TemporaryUser model and related functionality for user registration and OTP verification
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m19s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m19s
This commit is contained in:
@ -4,7 +4,7 @@ from django.urls import path
|
||||
from knox import views as knox_views
|
||||
from .views import (
|
||||
LoginView,
|
||||
CreateUserView,
|
||||
CreateTemporaryUserView,
|
||||
ManageUserView,
|
||||
KnoxTokenListApiView,
|
||||
ListUserView,
|
||||
@ -18,11 +18,13 @@ from .views import (
|
||||
RetrieveUpdateDestroyIslandView,
|
||||
filter_user,
|
||||
UpdateUserWalletView,
|
||||
VerifyOTPView,
|
||||
)
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path("create/", CreateUserView.as_view(), name="create"),
|
||||
path("register/", CreateTemporaryUserView.as_view(), name="register"),
|
||||
path("register/verify/", VerifyOTPView.as_view(), name="verify-otp"),
|
||||
path("profile/", ManageUserView.as_view(), name="profile"),
|
||||
path("login/", LoginView.as_view(), name="knox_login"),
|
||||
path("logout/", knox_views.LogoutView.as_view(), name="knox_logout"),
|
||||
|
Reference in New Issue
Block a user