<p dir="auto"><code class="notranslate">auth_button</code> and <code class="notranslate">auth_button_preferred</code> helpers have the following first two arguments:</p>
<ul dir="auto">
<li><code class="notranslate">name</code>, which is an auth provider name</li>
<li><code class="notranslate">provider</code>, which is also an auth provider name, exactly the same</li>
</ul>
<p dir="auto">They used to be different <a href="https://github.com/openstreetmap/openstreetmap-website/commit/e434cb154c5ccecd7fc0ce672e4de79bd9e7e06f">at some point</a>, but not anymore. Now the calls look like <code class="notranslate">auth_button provider, provider</code>.</p>
<p dir="auto">We can remove the <code class="notranslate">name</code> argument.</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/4995'>https://github.com/openstreetmap/openstreetmap-website/pull/4995</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4995/commits/b0e41cf14218f97f3b52ff3e7a5e0a59e6a3d496" class="commit-link">b0e41cf</a> Remove name parameter from auth button helpers</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4995/files">3 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4995/files#diff-b4fc005393d27baeb208c32dfc3bd576364fa35e6d76a69ea8b99da62616f80e">app/helpers/user_helper.rb</a>
(18)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4995/files#diff-5a9b0e7aa9d3862ba8103db51b8b44b6e392cb43f22bba850bf95e0be7b53e4f">app/views/application/_auth_providers.html.erb</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4995/files#diff-59bb77618596eb59f4849a9e62ad9396772a8af3f05b6d08d6e53a39f8e02c97">test/helpers/user_helper_test.rb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4995.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4995.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4995.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4995.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/4995">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIWOO6ZA6LM3DPOAQ3ZMUTUVAVCNFSM6AAAAABK6WPAQ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTCMRYG44DANQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNP3IID2BJMNTDWFVLZMUTUVA5CNFSM6AAAAABK6WPAQ2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHI7OKU7Y.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/4995</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/4995",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4995",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>