pdupavillon / express-recaptcha

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

Add support for remoteip #9

Closed iinc closed 7 years ago

iinc commented 7 years ago

Google lets you provide the end user's ip address as an optional security measure. Could this feature be added? Perhaps with an option to use x-forwarded-for headers? https://developers.google.com/recaptcha/docs/verify

pdupavillon commented 7 years ago

Include in the latest release with the new option checkremoteip.