Merge pull request #507 from Bugagazavr/exp-gitlab_post_login

Post login form to GetLogin handler
This commit is contained in:
Brad Rydzewski 2014-10-05 22:24:32 -07:00
commit 7e21d0fe9a

View file

@ -120,7 +120,7 @@ func main() {
goji.Get("/api/stream/stdout/:id", handler.WsConsole)
goji.Get("/api/stream/user", handler.WsUser)
goji.Get("/api/auth/:host", handler.GetLogin)
goji.Get("/api/auth/:host", handler.GetLogin)
goji.Post("/api/auth/:host", handler.GetLogin)
goji.Get("/api/badge/:host/:owner/:name/status.svg", handler.GetBadge)
goji.Get("/api/badge/:host/:owner/:name/cc.xml", handler.GetCC)
goji.Get("/api/hook/:host", handler.PostHook)