Using Magento 2.3.3
How do I disable recaptcha? Can't login to admin.
executed this command ==> bin/magento msp:security:recaptcha:disable didn't work
used V3 captcha
Solved! Go to Solution.
Hi @Sheba
I am assuming you are using native Magento 2.3.3 - native (default) google reCaptcha.
If yes then you can disabled it from the database
Go to core_config_data table - find the path msp_securitysuite_recaptcha/backend/enabled put its value as 0
then clear the cache and check - captcha will be disabled.
Hope it helps !
Hello @Sheba
You can go with @Manthan Dave suggestion or you can disable from config.php file.
Go to app/etc/config.php
Make it 0 where there is Recaptcha value is 1
Also be in the public_html directory before executing
bin/magento msp:security:recaptcha:disable
Hi @Sheba
I am assuming you are using native Magento 2.3.3 - native (default) google reCaptcha.
If yes then you can disabled it from the database
Go to core_config_data table - find the path msp_securitysuite_recaptcha/backend/enabled put its value as 0
then clear the cache and check - captcha will be disabled.
Hope it helps !
Hello @Sheba
You can go with @Manthan Dave suggestion or you can disable from config.php file.
Go to app/etc/config.php
Make it 0 where there is Recaptcha value is 1
bin/magento msp:security:recaptcha:disable this worked for me, thanks.
Updating for 2.4.1:
bin/magento security:recaptcha:disable-for-user-login
will disable recaptcha on the admin login
I can confirm that this solution is not working in Magento 2.4.4
It seems there is a bug with command: bin/magento security:recaptcha:disable-for-user-login
it will not work if your settings are locked in config.php or env.php, in that case you can only disable reCAPTCHA with:
bin/magento config:set -e recaptcha_backend/type_for/user_login ""
or
bin/magento config:set -c recaptcha_backend/type_for/user_login ""
Correction using the previous command will trigger another Magento 2 bug, you need to manually remove settings from config.php and env.php for the key recaptcha_backend/type_for/user_login
and then run: bin/magento app:config:import and then bin/magento cache:flush to disable reCAPTCHA