Fix OpenID registration route (#2160)

Fixes #2101
release/v1.15
Christian Weiske 2017-07-13 22:58:53 +02:00 committed by Lauris BH
parent 6a3c03762a
commit c4ccf16c43
1 changed files with 1 additions and 1 deletions

View File

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