Add validation email before creation
This commit is contained in:
parent
c4079a1c1d
commit
d07ff15f69
3 changed files with 151 additions and 53 deletions
|
|
@ -13,7 +13,8 @@ from .views import (
|
|||
Index,
|
||||
LogOut,
|
||||
ResetRequest,
|
||||
UserCreateAPI
|
||||
UserCreateAPI,
|
||||
ActivateAccount
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
|
|
@ -26,6 +27,7 @@ urlpatterns = [
|
|||
path('index/', Index.as_view(), name="index"),
|
||||
path('logout/', LogOut.as_view(), name="logout"),
|
||||
path('reset/<str:user>/<str:token>/', ResetRequest.as_view()),
|
||||
path('activate/<str:user>/<str:pwd>/<str:firstname>/<str:lastname>/<str:email>/<str:token>/', ActivateAccount.as_view()),
|
||||
path('reset/', ResetRequest.as_view(), name="reset"),
|
||||
path('', Index.as_view(), name="login_index"),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue