slackinviter
slackinviter copied to clipboard
Make reCAPTCHA configuration optional.
This makes reCAPTCHA configuration variables SLACKINVITER_CAPTCHASITEKEY
and SLACKINVITER_CAPTCHASECRET
optional. If both of these aren't set, then it's considered off and will not be displayed on the invite page. Also, the expvars metrics for reCAPTCHA will not be written.
This lets users who are blocked from Google submit the form successfully (e.g., China users).