proxyd/fix: use correct context for auth
This commit is contained in:
parent
6302eddef8
commit
92b54553c8
@ -576,7 +576,7 @@ func (s *Server) populateContext(w http.ResponseWriter, r *http.Request) context
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx = context.WithValue(r.Context(), ContextKeyAuth, s.authenticatedPaths[authorization]) // nolint:staticcheck
|
ctx = context.WithValue(ctx, ContextKeyAuth, s.authenticatedPaths[authorization]) // nolint:staticcheck
|
||||||
}
|
}
|
||||||
|
|
||||||
return context.WithValue(
|
return context.WithValue(
|
||||||
|
Loading…
Reference in New Issue
Block a user