ecsmyth / meteor-recaptcha Goto Github PK
View Code? Open in Web Editor NEWThis project forked from altapp/meteor-recaptcha
Google reCAPTCHA V2 for Meteor
License: Other
This project forked from altapp/meteor-recaptcha
Google reCAPTCHA V2 for Meteor
License: Other
When I call the function from my Utils.js file I have this error :
`captchaCheck: function (captchaData) {
var ip = "0.0.0.0";
if(Meteor.isServer) {
if(!this.connection.clientAddress)
throw new Meteor.Error(403, "Server Error: You must be connected.");
else
ip = this.connection.clientAddress;
}
var verifyCaptchaResponse = reCAPTCHA.verifyCaptcha(ip, captchaData);
if (!verifyCaptchaResponse.success) {
throw new Meteor.Error('422', 'reCAPTCHA Failed: ' + verifyCaptchaResponse.error);
}
else {
return true;
}
}`
I get the follow error after about 20 seconds.
Please upgrade to a supported browser to get a reCAPTCHA challenge.
Alternatively if you think you are getting this page in error, please check your internet connection and reload.
Why is this happening to me?
There is also two errors in the console log that show up as:
I'm using Windows 10 64bit, apshore:[email protected]. The error happens when I put both reCaptchas in two different bootstrap modals. I'm using the same configuration noted in this Github Readme doc. Let me know if anyone else can reproduce. Thanks!
I am using 2 recaptcha on a single page.
Recaptcha are diaplying fine with id.
But when i am trying to verify recaptcha 2 it is taking input value from recaptcha 1.
How to write method call and server code for recaptcha 2.
Also when we navigate back to recaptcha page (not on loading page 1st time ) it show error Uncaught Error: ReCAPTCHA placeholder element must be empty
Any of this config options is available in this package? If yes, - how to set them?
I'm trying to test this on localhost, and the captcha never gets past :
<span id="recaptcha-container" name="reCaptcha">Loading...</span>
I know that all keys work on local host by default, any idea what might be causing this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.