Add honeypot field for spambot

[MAILPOET-1014]
This commit is contained in:
Pavel Dohnal
2017-08-15 14:33:45 +02:00
parent f7b1016e63
commit 18f208cf47
5 changed files with 47 additions and 13 deletions

View File

@ -104,7 +104,7 @@ abstract class Base {
if((int)$block['id'] > 0) {
return 'cf_'.$block['id'];
} else {
return $block['id'];
return 'form_field_'.base64_encode($block['id']);//obfuscate field name for spambots
}
}