anhskohbo/no-captcha working locally but not working in production
I have used anhskohbo/no-captcha package and its working fine in the local machine. But when deploying the project captcha is showing but I can submit the form without verifying the captcha. I am using AWS EC2 instance server. Site domain is added in reCaptcha, has SSL too but still not validating.
Please someone tell me how to setup it properly...
Problem is fixed.... Issue was I was validating form data and the g captcha in the two separate places. refactored the code validating all data at once now its working. Also I have added out bound rule to AWS EC2 HTTPs TCP 443 0.0.0.0/0