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

@@ -934,7 +934,12 @@ public:
// default: X_Real_IP
std::wstring proxy_ip_header;
// antispam mechanizm
// use an antismap mechanism for not logged users
// when they try to add a new item
// default: true
bool use_antispam_mechanism_for_not_logged_users;
// antispam mechanism
// size of an list for map: form_id to counter_id for anonymous users (each session has such an map)
// this value allowes you to open the same or different html form in the browser more than once
// and each form has its own form_id and counter_id