From 0ec78fce656fbd3b50bd0f16372edd0ad394ff02 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 22 Sep 2017 15:45:39 +0100 Subject: [PATCH] Add missing GET for /login --- src/github.com/matrix-org/dendrite/clientapi/routing/routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go b/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go index 28284a277..77838e19a 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go +++ b/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go @@ -151,7 +151,7 @@ func Setup( common.MakeAPI("login", func(req *http.Request) util.JSONResponse { return readers.Login(req, accountDB, deviceDB, cfg) }), - ).Methods("POST", "OPTIONS") + ).Methods("GET", "POST", "OPTIONS") r0mux.Handle("/pushrules/", common.MakeAPI("push_rules", func(req *http.Request) util.JSONResponse {