This commit is contained in:
Yax 2019-08-31 17:16:34 +02:00
parent 1c75ecc9a1
commit 85fe290e83

View file

@ -34,7 +34,7 @@ def new_form_comment():
abort(400) abort(400)
# honeypot for spammers # honeypot for spammers
captcha = data.get("captcha", "") captcha = data.get("remarque", "")
if captcha: if captcha:
logger.warn("discard spam: data %s" % data) logger.warn("discard spam: data %s" % data)
abort(400) abort(400)