Add 10 per day rate-limit to email invites
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
- Go to a room
- Add more than 10 random emails to the room
serherhsshe@eserhhhsrewr.com
- Notice the error in the UI
Edited by Eric Eastwood