diff options
author | 2019-09-05 21:39:32 -0700 | |
---|---|---|
committer | 2019-09-05 21:53:12 -0700 | |
commit | b94160df725a52af53f113bf27de7a7b8723174c (patch) | |
tree | 9e86b227d4683f26da9b393410df1bedc2e95074 /vendor/github.com/gorilla/mux/doc.go | |
parent | 456ebaf423ce2122bf8faa36da464c5d90361204 (diff) | |
download | v2-b94160df725a52af53f113bf27de7a7b8723174c.tar.gz v2-b94160df725a52af53f113bf27de7a7b8723174c.tar.zst v2-b94160df725a52af53f113bf27de7a7b8723174c.zip |
Update dependencies
Diffstat (limited to 'vendor/github.com/gorilla/mux/doc.go')
-rw-r--r-- | vendor/github.com/gorilla/mux/doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/gorilla/mux/doc.go b/vendor/github.com/gorilla/mux/doc.go index 38957dee..bd5a38b5 100644 --- a/vendor/github.com/gorilla/mux/doc.go +++ b/vendor/github.com/gorilla/mux/doc.go @@ -295,7 +295,7 @@ A more complex authentication middleware, which maps session token to users, cou r := mux.NewRouter() r.HandleFunc("/", handler) - amw := authenticationMiddleware{} + amw := authenticationMiddleware{tokenUsers: make(map[string]string)} amw.Populate() r.Use(amw.Middleware) |