diff options
Diffstat (limited to 'modules/caddyhttp/caddyauth')
-rw-r--r-- | modules/caddyhttp/caddyauth/caddyauth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/caddyauth/caddyauth.go b/modules/caddyhttp/caddyauth/caddyauth.go index c79d080..c814caf 100644 --- a/modules/caddyhttp/caddyauth/caddyauth.go +++ b/modules/caddyhttp/caddyauth/caddyauth.go @@ -74,7 +74,7 @@ func (a Authentication) ServeHTTP(w http.ResponseWriter, r *http.Request, next c } repl := r.Context().Value(caddy.ReplacerCtxKey).(caddy.Replacer) - repl.Set("http.handlers.authentication.user.id", user.ID) + repl.Set("http.authentication.user.id", user.ID) return next.ServeHTTP(w, r) } |