diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-09 17:39:23 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-09 17:39:23 +0000 |
commit | bbacfde03e8158e9c225d8acfb521deb984822a7 (patch) | |
tree | 073bb219237072c5da3b0206be1072fb8d83a176 /src/plugins | |
parent | 0c90e73443254ec4684bd5a142eb627d20e7df18 (diff) | |
download | rspamd-bbacfde03e8158e9c225d8acfb521deb984822a7.tar.gz rspamd-bbacfde03e8158e9c225d8acfb521deb984822a7.zip |
[Minor] Fix schema validation
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/milter_headers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/milter_headers.lua b/src/plugins/lua/milter_headers.lua index 106f07098..ec9e2c659 100644 --- a/src/plugins/lua/milter_headers.lua +++ b/src/plugins/lua/milter_headers.lua @@ -560,7 +560,7 @@ local config_schema = ts.shape({ skip_authenticated = ts.boolean:is_optional(), local_headers = ts.array_of(ts.string):is_optional(), authenticated_headers = ts.array_of(ts.string):is_optional(), - extended_headers_rcpt = lua_maps.map_schema, + extended_headers_rcpt = lua_maps.map_schema:is_optional(), custom = ts.map_of(ts.string, ts.string):is_optional(), }, { extra_fields = ts.map_of(ts.string, ts.any) |