cancel
Showing results for 
Search instead for 
Did you mean: 

mageplaza recaptcha trap

mageplaza recaptcha trap

After a while trying to log back into my admin site I found this problem that many could fall for. 

I installed a series of mageplaza modules by composer.

 

I enabled Google ReCaptcha and added the keys and saved perfect right?

 

then I got log off and tried many times to login again getting an error. 

so I went to check the app folder to see the name of the module to disable it. well, it was not there.

Then went to check their documentation and at the bottom they barely mention it:

  • When you cannot access to the admin panel while reCAPTCHA enables, you can use the following command to disable the module via composer as well as can access the admin page as usual.

    php bin/magento module:disable Mageplaza_Recaptcha

    Or you also disable the configuration by the command below:

    php bin/magento mageplaza:core:disable Mageplaza_Recaptcha

    None of these worked ouch!

    am like ok it must be in composer.

     

    opened the json file and didnt see it there. after looking around a lot I found it

    So after looking around for the correct name I found it. 

    so I tried to disable, bin/magento module:disable Mageplaza_GoogleRecaptcha

    nothing happens.... great.

    but got notice of this: 

    Unable to change status of modules because of the following constraints:
    Cannot disable Mageplaza_GoogleRecaptcha because modules depend on it:
    Mageplaza_SocialLogin: Mageplaza_SocialLogin->Mageplaza_GoogleRecaptcha

     

    THEN I REALIZED I NEVER INSTALLED THAT THING IT CAME WITH THE SOCIAL MODULE... well disable both of them 

    bin/magento module:disable Mageplaza_SocialLogin Mageplaza_GoogleRecaptcha

     

    Now I can go back to my admin geeeeez 

     

     

1 REPLY 1

Re: mageplaza recaptcha trap

Hello,

 

I have checked the Mageplaza modules and found that:
Google reCaptcha requires google/recaptcha and mageplaza/module-core , see composer file I don't see they require Social login.

 

Let's check Social Login composer file

This social login requires mageplaza/module-google-recaptcha. If you install Social Login, it will bundle Google reCaptcha, as I can see in the description they mention to protect attack from hacker, and include that. If don't want to use reCaptcha, you can disable it in backend.

 

I think you installed Social Login as you don't how what you are doing.

 

To me, It is Not the trap.