mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-09 00:33:28 -04:00
http: allow trailing slash on GET /sys/auth
This commit is contained in:
parent
1340715a1a
commit
e5facee87d
1 changed files with 2 additions and 0 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in a new issue