feat: cancel 2fa api

This commit is contained in:
Noah Hsu
2022-08-07 11:59:33 +08:00
parent d01958a6bf
commit 2b5da3ef34
3 changed files with 31 additions and 0 deletions

View File

@ -52,6 +52,7 @@ func admin(g *gin.RouterGroup) {
user.GET("/get", handles.GetUser)
user.POST("/create", handles.CreateUser)
user.POST("/update", handles.UpdateUser)
user.POST("/cancel_2fa", handles.Cancel2FAById)
user.POST("/delete", handles.DeleteUser)
storage := g.Group("/storage")