mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added logging when honeypot field is hit
ref KTLO-1
This commit is contained in:
parent
56a9fa34af
commit
9ca513bfdd
1 changed files with 2 additions and 0 deletions
|
@ -493,6 +493,8 @@ module.exports = class RouterController {
|
|||
}
|
||||
|
||||
if (honeypot) {
|
||||
logging.warn('Honeypot field filled, this is likely a bot');
|
||||
|
||||
// Honeypot field is filled, this is a bot.
|
||||
// Pretend that the email was sent successfully.
|
||||
res.writeHead(201);
|
||||
|
|
Loading…
Add table
Reference in a new issue