Would be great if the authenticate method had access to request headers. Looks like it wouldn't be terribly hard since the req object is already right there:
|
const promise = this.authenticate(type, repoName, basicAuth.bind(null, req, res), (error) => { |
Would be great if the
authenticatemethod had access to request headers. Looks like it wouldn't be terribly hard since the req object is already right there:node-git-server/lib/git.js
Line 305 in 62b1cb6