mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
feat: implement email verification flow with account activation and secure cookie configuration
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
from django.urls import path
|
||||
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView
|
||||
|
||||
from users.views import ActivationView
|
||||
|
||||
from .views import MeView, RegisterView
|
||||
|
||||
urlpatterns = [
|
||||
@@ -11,4 +13,6 @@ urlpatterns = [
|
||||
path("refresh/", TokenRefreshView.as_view(), name="token_refresh"),
|
||||
# Get current user info
|
||||
path("me/", MeView.as_view(), name="me"),
|
||||
# Activate user account
|
||||
path("activate/<str:uidb64>/<str:token>/", ActivationView.as_view(), name="activate"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user