feat(admin): complete settings APIs and password update flow
This commit is contained in:
@@ -42,6 +42,12 @@ func registerAdminRoutes(
|
||||
protected.GET("/users", handler.ListUsers)
|
||||
protected.GET("/users/:id", handler.GetUserDetail)
|
||||
|
||||
protected.GET("/settings", handler.GetSettings)
|
||||
protected.PUT("/settings/profile", handler.UpdateProfile)
|
||||
protected.GET("/settings/system", handler.GetSystemConfig)
|
||||
protected.PUT("/settings/system", handler.UpdateSystemConfig)
|
||||
protected.PUT("/settings/password", handler.UpdatePassword)
|
||||
|
||||
protected.GET("/memberships/overview", handler.MembershipOverview)
|
||||
protected.GET("/memberships/redeem-codes", handler.ListMembershipRedeemCodes)
|
||||
protected.POST("/memberships/redeem-codes", handler.CreateMembershipRedeemCodes)
|
||||
|
||||
Reference in New Issue
Block a user