diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-07 13:36:30 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-07 13:36:30 +0200 |
commit | cb7fefdc99cac1952c7a6f6765420819aee71d63 (patch) | |
tree | 23fcb880cfb1b311bfa7e3c0fdfefe48b807a7c2 /vendor/github.com/gorilla/mux/doc.go | |
parent | 7a336e95b19f222e77df37284ebd2ecbcc691625 (diff) | |
download | git-bug-cb7fefdc99cac1952c7a6f6765420819aee71d63.tar.gz |
Update gorilla/mux vendors
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) |