summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Weiske <cweiske+github.com@cweiske.de>2017-07-13 22:58:53 +0200
committerLauris BH <lauris@nix.lv>2017-07-13 23:58:53 +0300
commitc4ccf16c43693eb08e58c3a6e58aea03f3bdc3fb (patch)
treec6b042ee6f2a9f63b414cc25d7689cd729f45ffa
parent6a3c03762a37f593ec8101c2005836ca44683e1d (diff)
downloadgitea-c4ccf16c43693eb08e58c3a6e58aea03f3bdc3fb.tar.gz
gitea-c4ccf16c43693eb08e58c3a6e58aea03f3bdc3fb.zip
Fix OpenID registration route (#2160)
Fixes #2101
-rw-r--r--routers/routes/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index 90944c25f7..169f95e289 100644
--- a/routers/routes/routes.go
+++ b/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)
})