From 9b706b1534f284ebd0b9ed557443b9e2eee076b8 Mon Sep 17 00:00:00 2001 From: Kirill Zaitsev Date: Thu, 2 Oct 2014 18:39:00 +0400 Subject: [PATCH] Post login form to GetLogin handler --- server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.go b/server/main.go index 38fea57e..74ee6da9 100644 --- a/server/main.go +++ b/server/main.go @@ -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)