解决方案: 1、安装插件:gooreplacer 2、安装好gooreplacer插件后,进行配置。 匹配模式:www.google.com/recaptcha 目标地址:recaptcha.net/recaptcha 按以上图示配置好之后,点“提交”按钮就OK了。 3、设置完成后再次打开网页进行注册,则会出现人机验证,人机验证正常显示,就不会影响下一步注册了。 (-- 完 --)...
env.MIX_NOCAPTCHA_SITEKEY, recaptchaEnabled: "true", // recaptchaEnabled: "process.env.MIX_NOCAPTCHA_ENABLED", csrf: document .querySelector('meta[name="csrf-token"]') .getAttribute("content") }, submitClicked: false, status: "", sucessfulServerResponse: "", serverError: "" }; }, ...
Testing the reCaptcha, i've got the following error: "ERRO para o proprietário do site: Invalid stoken". I made a test commenting the line of code that configures the STOKEN: vcRecaptchaServiceProvider.setStoken('Secret key'); And the reCaptcha has started to work ...
This works fine on local-host environment, both in development and production, but when I am using this on VM(Azure VM), it gives ERROR: Stoken Expired issue. Screenshot of the issue http://imgur.com/pFfJXRn recaptcha version - 0.4.0 Rails version 4.2.1 Passenger Phusion server(5.0) ...