diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-10 23:23:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 23:23:11 +0100 |
commit | c86b28185a6875e7dd805fc8a161f64f6af543c4 (patch) | |
tree | a2ca8e84a3cf9eb2038e5ea51148af351f5cd88c /src | |
parent | 3f20a29a6ea7b1406751a9e68ad863ba46d78397 (diff) | |
parent | 1119622452623a8c0afd97d21099198cd3799eaa (diff) | |
download | rspamd-c86b28185a6875e7dd805fc8a161f64f6af543c4.tar.gz rspamd-c86b28185a6875e7dd805fc8a161f64f6af543c4.zip |
Merge pull request #4300 from yo000/master
Add basic auth to metadata_exporter http pusher
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/metadata_exporter.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/metadata_exporter.lua b/src/plugins/lua/metadata_exporter.lua index 2bce5626a..cd225e841 100644 --- a/src/plugins/lua/metadata_exporter.lua +++ b/src/plugins/lua/metadata_exporter.lua @@ -323,6 +323,8 @@ local pushers = { rspamd_http.request({ task=task, url=rule.url, + user=rule.user, + password=rule.password, body=formatted, callback=http_callback, mime_type=rule.mime_type or settings.mime_type, |