[openstreetmap/openstreetmap-website] Add support for rate limiting signup requests (PR #4198)
Tom Hughes
notifications at github.com
Tue Aug 22 19:47:25 UTC 2023
This PR attempts to add support for rate limiting signups from a given IP address and/or email address.
Obviously we only allow one account per email address but this works on the basis of a canonical address where any `+` extension is removed, and dots are stripped from the local part for gmail.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4198
-- Commit Summary --
* Add support for rate limiting signup requests
-- File Changes --
M app/controllers/users_controller.rb (25)
A config/initializers/rate_limits.rb (15)
M config/settings.yml (5)
A lib/rate_limiter.rb (38)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4198.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4198.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4198
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4198 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230822/d91249cb/attachment.htm>
More information about the rails-dev
mailing list