aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gorilla/mux/doc.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-07-09 08:47:46 +0200
committerGitHub <noreply@github.com>2019-07-09 08:47:46 +0200
commita5c42b7c11fc082d47027ba5e0dbdeddcc14e62e (patch)
treea279d04878f3f1b1e28089779d011c0cb4b7545d /vendor/github.com/gorilla/mux/doc.go
parenteef7333243252ae81cd43921beb8e0749a170585 (diff)
parentfb50d470483b91d98e27ca6f9f605f0c51af6a71 (diff)
downloadgit-bug-a5c42b7c11fc082d47027ba5e0dbdeddcc14e62e.tar.gz
Merge pull request #177 from A-Hilaly/git-version
Check git version in repo RmConfigs
Diffstat (limited to 'vendor/github.com/gorilla/mux/doc.go')
-rw-r--r--vendor/github.com/gorilla/mux/doc.go2
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)