improve registration flows
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 5s
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 5s
This commit is contained in:
+25
@@ -18,9 +18,14 @@ from .views import (
|
||||
filter_user,
|
||||
filter_temporary_user,
|
||||
VerifyOTPView,
|
||||
ResendRegistrationOTPView,
|
||||
UserVerifyAPIView,
|
||||
UserUpdateAPIView,
|
||||
UserRejectAPIView,
|
||||
RequestIdUploadAPIView,
|
||||
IdUploadTokenInfoAPIView,
|
||||
IdUploadStartAPIView,
|
||||
IdUploadSubmitAPIView,
|
||||
AgreementUpdateAPIView,
|
||||
PersonVerifyAPIView,
|
||||
)
|
||||
@@ -29,6 +34,11 @@ from .views import (
|
||||
urlpatterns = [
|
||||
path("register/", CreateTemporaryUserView.as_view(), name="register"),
|
||||
path("register/verify/", VerifyOTPView.as_view(), name="verify-otp"),
|
||||
path(
|
||||
"register/resend-otp/",
|
||||
ResendRegistrationOTPView.as_view(),
|
||||
name="resend-registration-otp",
|
||||
),
|
||||
path("profile/", UserprofileAPIView.as_view(), name="profile"),
|
||||
path("login/", LoginView.as_view(), name="knox_login"),
|
||||
path("logout/", knox_views.LogoutView.as_view(), name="knox_logout"),
|
||||
@@ -48,6 +58,21 @@ urlpatterns = [
|
||||
name="user-agreement-update",
|
||||
),
|
||||
path("users/<int:pk>/reject/", UserRejectAPIView.as_view(), name="user-reject"),
|
||||
path(
|
||||
"users/<int:pk>/request-id-card/",
|
||||
RequestIdUploadAPIView.as_view(),
|
||||
name="user-request-id-card",
|
||||
),
|
||||
# Public, unauthenticated self-service ID-upload flow (single-use magic link)
|
||||
path(
|
||||
"id-upload/token/", IdUploadTokenInfoAPIView.as_view(), name="id-upload-token"
|
||||
),
|
||||
path(
|
||||
"id-upload/start/", IdUploadStartAPIView.as_view(), name="id-upload-start"
|
||||
),
|
||||
path(
|
||||
"id-upload/submit/", IdUploadSubmitAPIView.as_view(), name="id-upload-submit"
|
||||
),
|
||||
path("person/<str:id_card>/", PersonVerifyAPIView.as_view(), name="person-verify"),
|
||||
path("healthcheck/", healthcheck, name="healthcheck"),
|
||||
path("atolls/", ListAtollView.as_view(), name="atolls"),
|
||||
|
||||
Reference in New Issue
Block a user