diff options
author | Christian Weiske <cweiske+github.com@cweiske.de> | 2017-07-13 22:58:53 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-07-13 23:58:53 +0300 |
commit | c4ccf16c43693eb08e58c3a6e58aea03f3bdc3fb (patch) | |
tree | c6b042ee6f2a9f63b414cc25d7689cd729f45ffa /routers/routes | |
parent | 6a3c03762a37f593ec8101c2005836ca44683e1d (diff) | |
download | gitea-c4ccf16c43693eb08e58c3a6e58aea03f3bdc3fb.tar.gz gitea-c4ccf16c43693eb08e58c3a6e58aea03f3bdc3fb.zip |
Fix OpenID registration route (#2160)
Fixes #2101
Diffstat (limited to 'routers/routes')
-rw-r--r-- | routers/routes/routes.go | 2 |
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) }) |