Skip to content
Snippets Groups Projects

Add support for Google reCAPTCHA in user registration to prevent spammers

Merged Stan Hu requested to merge add-recaptcha-support into master

To do:

  • Failing reCAPTCHA test causes all the fields to be lost
  • [ ] Improve styling of reCAPTCHA box (not possible)
  • [ ] Put settings in application_settings (?)

image

image

Page when you fail CAPTCHA:

image

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
346 346 # cas3:
347 347 # session_duration: 28800
348 348
349 # reCAPTCHA settings. See: http://www.google.com/recaptcha
350 recaptcha:
351 enabled: false
352 public_key: 'YOUR_PUBLIC_KEY'
353 private_key: 'YOUR_PRIVATE_KEY'
  • @stanhu awesome work!

    can we get this shipped ASAP?

    @sytses yep

  • username-removed-444 Milestone changed to 8.4

    Milestone changed to 8.4

  • mentioned in commit 202010e3

  • username-removed-444 Status changed to merged

    Status changed to merged

  • Thanks @stanhu and @dzaporozhets

    @rspeicher please ship in patch release

  • @stanhu Why is Put settings in application_settings crossed out, why did you decide against adding the settings there?

  • Author Maintainer

    @marin I didn't have time to add it and didn't push on it given the comments above.

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading