0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00

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

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)
})