add-recaptcha-config.patch 443 B

1234567891011121314
  1. --- a/settings.coffee
  2. +++ b/settings.coffee
  3. @@ -180,6 +180,11 @@ settings =
  4. # cookie with a secure flag (recommended).
  5. secureCookie: process.env["SHARELATEX_SECURE_COOKIE"]?
  6. + recaptcha:
  7. + disabled:
  8. + invite: true
  9. + register: true
  10. +
  11. # If you are running ShareLaTeX behind a proxy (like Apache, Nginx, etc)
  12. # then set this to true to allow it to correctly detect the forwarded IP
  13. # address and http/https protocol information.