Uncaught ReferenceError: FALSE is not defined

Created on 17 October 2022, almost 3 years ago
Updated 30 July 2025, about 2 months ago

After updating to v2.0.1, whien I visit pages with forms I get the following error:

Uncaught ReferenceError: FALSE is not defined
at Object.attach (antibot.js?rjw3sd:19:38)
at drupal.js?v=9.4.8:27:24
at Array.forEach ()
at Drupal.attachBehaviors (drupal.js?v=9.4.8:24:34)
at drupal.init.js?v=9.4.8:29:12
at HTMLDocument.listener (drupal.init.js?v=9.4.8:17:7)

In file js/antibot.js in line 19 FALSE should be false (lower case letters):

drupalSettings.antibot.human = FALSE;

As a result all protected forms, including login form don't work, locking the user out.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇬🇷Greece plessas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024