Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-f committed Apr 24, 2022
1 parent 03658b8 commit c7e319d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @xen-orchestra/mixins/HttpProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = class HttpProxy {
}

async #handleAuthentication(req, res, next) {
const authenticationToken = this.#app.config.get('http.proxies.authenticationToken')
const authenticationToken = this.#app.config.getOptional('http.proxies.authenticationToken')

if (authenticationToken !== undefined) {
const auth = parseBasicAuth(req.headers['proxy-authorization'])
Expand Down

0 comments on commit c7e319d

Please sign in to comment.