Altapp/Meteor-reCAPTCHA

ReferenceError: _ is not defined at Object.reCAPTCHA.config (packages/altapp_recaptcha.js:24:16)

Opened this issue · 2 comments

seems if you don't wrap the call to reCAPTCHA.config() in a Meteor.startup() block, you'll get some strange errors

Help??
In client side
Meteor.startup(function() { reCAPTCHA.config({ sitekey: '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI' }); console.log("ReCaptcha: configurando client"); });
In server side
`Meteor.startup(function() {

reCAPTCHA.config({
    privatekey: '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe'
});
console.log("ReCaptcha: configurando servidor");

});`
But I still have this problem.

lowi commented

@josielmoraes Use
reCAPTCHA.config({ publickey:...}) instead of reCAPTCHA.config({ sitekey:...})