forked from p85947160/gitea
parent
6a3c03762a
commit
c4ccf16c43
|
@ -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)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue