I tinkered with using some node modules to handle the recaptcha like simple-recaptcha, but the configuration always seemed to give me trouble. Thus, it seemed simpler to just handle the verification without the use of a module as shown here.
There are a lot of indentation changes so I recommend viewing this page without the whitespace (add ?w=1 to the end of the url above).
I just wanted to say thanks for this. I incorporated your code into our slack-inviter app. The only thing that you were missing was the line on the index.jade to include the g-recaptcha div.
I tinkered with using some node modules to handle the recaptcha like
simple-recaptcha
, but the configuration always seemed to give me trouble. Thus, it seemed simpler to just handle the verification without the use of a module as shown here.There are a lot of indentation changes so I recommend viewing this page without the whitespace (add
?w=1
to the end of the url above).Solves this issue: https://github.com/chitechdiversity/slack-invite-automation/issues/4