Browse Source

mod err msg

tags/v1.21.12.1
lewis 4 years ago
parent
commit
f1ef62479d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/routes/routes.go

+ 1
- 1
routers/routes/routes.go View File

@@ -1129,7 +1129,7 @@ func RegisterRoutes(m *macaron.Macaron) {

//secure api,
m.Group("/secure", func() {
m.Post("/user", binding.Bind(structs.CreateUserOption{}), secure.CreateUser)
m.Post("/user", binding.BindIgnErr(structs.CreateUserOption{}), secure.CreateUser)
}, reqBasicAuth)

m.Group("/api/internal", func() {


Loading…
Cancel
Save