Skip to content

Add 10 per day rate-limit to email invites

Eric Eastwood requested to merge 2165-add-rate-limit-to-invites into develop

Fix https://gitlab.com/gitlab-org/gitter/webapp/issues/2165

  • Add 10 per day rate-limit to email invites
  • Email notifications of being added to a room by somebody are still disabled

In the future, after 10 invites, we should show a recaptcha for each additional invite. But right now it is just a hard-stop

Previous MR where we disabled invite emails, https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1416

The text here is referring to #2153 (closed)

Testing strategy

  1. Go to a room
  2. Add more than 10 random emails to the room serherhsshe@eserhhhsrewr.com
  3. Notice the error in the UI
Edited by Eric Eastwood

Merge request reports