pdupavillon / express-recaptcha

Implementation of google recaptcha v2 & V3 solutions for express.js
MIT License
128 stars 22 forks source link

ejs v3 display problem #29

Closed vahid263 closed 4 years ago

vahid263 commented 5 years ago

I recently update express-recaptcha to last version and update my code but my problem is in frontend just a frame shows that the page is recaptcha protected, and the recaptcha is not showing in div tag? what is the solution? I didn't receive any error showRegsitrationForm(req , res) { res.render('register' , { messages : req.flash('errors') , recaptcha : this.recaptcha.render() }); }

`recaptchaConfig(){

    this.recaptcha = new Recaptcha(
        '!!!',
        '!!!' , 
      {callback:'cb'},{'hl' : 'en'}
    );
}

`

pdupavillon commented 5 years ago

@vahid263 are you still having the problem? Another version has been released the same day you create that issue.