Added logging when honeypot field is hit
ref KTLO-1
This commit is contained in:
parent
56a9fa34af
commit
9ca513bfdd
@ -493,6 +493,8 @@ module.exports = class RouterController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (honeypot) {
|
if (honeypot) {
|
||||||
|
logging.warn('Honeypot field filled, this is likely a bot');
|
||||||
|
|
||||||
// Honeypot field is filled, this is a bot.
|
// Honeypot field is filled, this is a bot.
|
||||||
// Pretend that the email was sent successfully.
|
// Pretend that the email was sent successfully.
|
||||||
res.writeHead(201);
|
res.writeHead(201);
|
||||||
|
Loading…
Reference in New Issue
Block a user