Error in documentation for verification without middleware
sylbal opened this issue · 1 comments
sylbal commented
The documentation states
app.post('/', function(req, res){
recaptcha.verify(req, function(error, data){
if (!req.recaptcha.error) {
// success code
} else {
// error code
}
});
});
I believe it should be
app.post('/', function(req, res){
recaptcha.verify(req, function(error, data){
if (!rerror) {
// success code
} else {
// error code
}
});
});
pdupavillon commented
addressed in PR #54 thanks