Fix OpenID registration route (#2160)

Fixes #2101
tokarchuk/v1.17
Christian Weiske 7 years ago committed by Lauris BH
parent 6a3c03762a
commit c4ccf16c43
  1. 2
      routers/routes/routes.go

@ -171,7 +171,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Combo("/connect").
Get(user.ConnectOpenID).
Post(bindIgnErr(auth.ConnectOpenIDForm{}), user.ConnectOpenIDPost)
m.Combo("/routes").
m.Combo("/register").
Get(user.RegisterOpenID).
Post(bindIgnErr(auth.SignUpOpenIDForm{}), user.RegisterOpenIDPost)
})

Loading…
Cancel
Save