0.1.2 • Published 9 years ago

recaptcha_middleman v0.1.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
9 years ago

Recaptcha Middleman

Google recaptcha api middleware for nodejs

RobertSteckroth@Gmail.com

var Print = require("wizkit_print"),
Recaptcha = require("recaptcha_middleman")

var up = Print("Recaptcha example")
// This key is for testing as specified in the api docs
var recaptcha_secret_key = "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"
var recaptcha = new Recaptcha(recaptcha_secret_key, up)

// Verfify the recaptcha data sent to the server
recaptcha.verify(form_data["g-recaptcha-response"], http(s).req.connection.remoteAddress,
 function success() { }, function invalid() {})
0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago