add use_antispam_mechanism_for_not_logged_users config option

This commit is contained in:
2022-05-30 05:35:05 +02:00
parent 7d1fb3c04e
commit 01c10bad0e
4 changed files with 32 additions and 23 deletions

View File

@@ -341,6 +341,7 @@ void Config::AssignValues()
check_proxy_ip_header = Bool(L"check_proxy_ip_header", false);
proxy_ip_header = Text(L"proxy_ip_header", L"X_Real_IP");
use_antispam_mechanism_for_not_logged_users = Bool(L"use_antispam_mechanism_for_not_logged_users", true);
antispam_list_max_size = Size(L"antispam_list_max_size", 10);
add_header_cache_no_store_in_htmx_request = Bool(L"add_header_cache_no_store_in_htmx_request", true);
}