Fix OpenID registration route (#2160)

Fixes #2101
This commit is contained in:
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").
Get(user.ConnectOpenID).
Post(bindIgnErr(auth.ConnectOpenIDForm{}), user.ConnectOpenIDPost)
m.Combo("/routes").
m.Combo("/register").
Get(user.RegisterOpenID).
Post(bindIgnErr(auth.SignUpOpenIDForm{}), user.RegisterOpenIDPost)
})