<p dir="auto">This PR attempts to add support for rate limiting signups from a given IP address and/or email address.</p>
<p dir="auto">Obviously we only allow one account per email address but this works on the basis of a canonical address where any <code class="notranslate">+</code> extension is removed, and dots are stripped from the local part for gmail.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4198'>https://github.com/openstreetmap/openstreetmap-website/pull/4198</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4198/commits/63bf18a3c3de2a5cac0087658ec2a0cbd275ed1c" class="commit-link">63bf18a</a>  Add support for rate limiting signup requests</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4198/files">4 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4198/files#diff-cfdccd0a9d5df5a43aaad2a35d36ebbe187c52ad5fdc9846fa189d04537adb6e">app/controllers/users_controller.rb</a>
    (25)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4198/files#diff-823d6d99c05949358a877aef51b461e0afe0637f6ff29daae5eb2b25d67beb54">config/initializers/rate_limits.rb</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4198/files#diff-e769bbb8c1ba3711c5403b424ed9c218ffafba7f1890ee394717196f28ff4540">config/settings.yml</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4198/files#diff-1fb6666b50c65a299528e94c806542fc138ac9dea1e95862b3ca9105d31ce34d">lib/rate_limiter.rb</a>
    (38)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4198.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4198.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4198.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4198.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4198">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOA3PFQOW7JC6NKNVTXWUEE3ANCNFSM6AAAAAA32NE7HY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMA3RUDIHHQHRJFCWDXWUEE3A5CNFSM6AAAAAA32NE7H2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHG57K32I.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4198</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4198",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4198",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>