Log in
Model

DisableReCaptchaForUserForgotPassword

Magento\ReCaptchaUser\Model\DisableReCaptchaForUserForgotPassword

What it does

This class programmatically disables reCAPTCHA protection for the admin user forgot password form and flushes the configuration cache.

Developers would use this during automated testing, migration scripts, or when temporarily needing to bypass reCAPTCHA validation on the backend forgot password functionality.

Public Methods

  • execute()