perf: user profile api

This commit is contained in:
ibuler
2025-04-18 14:10:09 +08:00
committed by 老广
parent 533dbf316c
commit bcb112d5c6
5 changed files with 39 additions and 30 deletions

View File

@@ -22,6 +22,7 @@ urlpatterns = [
path('profile/', api.UserProfileApi.as_view(), name='user-profile'),
path('profile/password/', api.UserPasswordApi.as_view(), name='user-password'),
path('profile/mfa/reset/', api.UserResetMFAApi.as_view(), name='my-mfa-reset'),
path('profile/permissions/', api.UserPermissionsApi.as_view(), name='user-permissions'),
path('preference/', api.PreferenceApi.as_view(), name='preference'),
path('users/<uuid:pk>/mfa/reset/', api.UserResetMFAApi.as_view(), name='user-reset-mfa'),
path('users/<uuid:pk>/password/', api.UserChangePasswordApi.as_view(), name='change-user-password'),