[openstreetmap/openstreetmap-website] Implement allow list for account creation (PR #4407)

Milan Cvetkovic notifications at github.com
Fri Dec 15 09:25:49 UTC 2023


@milan-cvetkovic commented on this pull request.



> @@ -355,6 +355,8 @@ def check_signup_allowed(email = nil)
                    domain_mx_servers(domain)
                  end
 
+    return true if Acl.allow_account_creation(request.remote_ip, :domain => domain, :mx => mx_servers)

If the IP address is being blocked due to rate limiting, there would be no point allowing it afterwards.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4407#discussion_r1427749906
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4407/review/1783442523 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231215/b42853a7/attachment-0001.htm>


More information about the rails-dev mailing list