From e5facee87d75492e5b5a6991f2f84c2f3439105b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 22 Apr 2015 07:55:51 +0200 Subject: [PATCH] http: allow trailing slash on GET /sys/auth --- http/sys_auth.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http/sys_auth.go b/http/sys_auth.go index b69c66a048..8958790fad 100644 --- a/http/sys_auth.go +++ b/http/sys_auth.go @@ -11,6 +11,8 @@ import ( func handleSysAuth(core *vault.Core) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.Method { + case "GET": + handleSysListAuth(core).ServeHTTP(w, r) case "POST": fallthrough case "DELETE":