rjds / magento2-module-captcha-disable
Magento 2 module to disable and enable captcha/reCAPTCHA via CLI
Package info
github.com/RubenJ01/magento2-module-disable-captcha
Type:magento2-module
pkg:composer/rjds/magento2-module-captcha-disable
Requires
- php: >=8.1
- magento/framework: >=103.0 <104.0
This package is auto-updated.
Last update: 2026-04-10 10:37:39 UTC
README
A small Magento 2 module to toggle all captcha and reCAPTCHA settings with CLI commands.
Requirements
- PHP
>=8.1 - Magento Open Source / Adobe Commerce
2.4.4up to2.4.8
Installation
Install via Composer:
composer require rjds/magento2-module-captcha-disable
Then enable the module and run setup:
bin/magento module:enable RJDS_DisableCaptcha bin/magento setup:upgrade bin/magento cache:flush
Usage
Disable all captcha/reCAPTCHA settings:
bin/magento rjds:captcha:disable
Disable captcha and also disable Magento 2FA module entirely:
bin/magento rjds:captcha:disable --disable-2fa-module
Enable captcha/reCAPTCHA settings again (using default invisible mode):
bin/magento rjds:captcha:enable
Enable captcha and also re-enable Magento 2FA module:
bin/magento rjds:captcha:enable --enable-2fa-module
Production safety
In production mode, both commands ask for confirmation first.
Use --force to skip the confirmation prompt:
bin/magento rjds:captcha:disable --force bin/magento rjds:captcha:enable --force
Notes
- Installing this module does not change captcha configuration by itself.
- Configuration is only changed when running the CLI commands.