We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4b06c0 commit c145fdbCopy full SHA for c145fdb
bedrock/newsletter/forms.py
@@ -258,6 +258,7 @@ def clean_office_fax(self):
258
office_fax = self.data.get("office_fax", "")
259
if office_fax:
260
import logging
261
+
262
logger = logging.getLogger("b.newsletter")
263
logger.warning(f'Honeypot field filled with value: "{office_fax}"')
264
raise forms.ValidationError("Invalid submission")
0 commit comments