diff --git a/src/widgets/crowdsec/proxy.js b/src/widgets/crowdsec/proxy.js index a367e7165..e78fbc5ef 100644 --- a/src/widgets/crowdsec/proxy.js +++ b/src/widgets/crowdsec/proxy.js @@ -71,10 +71,6 @@ export default async function crowdsecProxyHandler(req, res) { logger.debug("Calling Crowdsec API endpoint: %s", endpoint); - if (endpoint.indexOf("decisions") === 0) { - delete params.headers.Authorization; - } - const [status, , data] = await httpProxy(url, params); if (status !== 200) {