cancel
Showing results for 
Search instead for 
Did you mean: 

ReCaptcha not validating Captcha value entered.

0 Kudos

Hi Experts, I am facing an issue while using Captcha addon in 5.6 version. The Captcha is not validating the Captcha code entered before logging in the user. I mean advise() ,adviseLogin() methods are not being called from ReCaptchaAspect.java of CaptchaAddon. Any insights would be helpful.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

How do you overwrite this configuration? It works if I edit the captchaaddon-web-spring.xml directly but where do I put and how would I overwrite that file with my custom configuration. I assume it has something to do with this property?

    storefront.additionalWebSpringConfigs.captchaaddon=classpath:/captchaaddon/web/spring/captchaaddon-web-spring.xml
Former Member
0 Kudos

Check that your advice configured exactly to your storefront because OOTB pointcut in the aspect aimed to the:

 <aop:aspect id="prepRegistratonReCaptchaAspect" ref="reCaptchaAspect">
             <aop:around method="prepare"
                         pointcut="execution(* de.hybris.platform..controllers.pages..*.doLogin(..))"/>
         </aop:aspect>

You need to configure pointcut to catch your custom LoginPageController or whatever you use.