<p dir="auto">There's <code class="notranslate">Auth</code> module that lists currently enabled auth providers. It's used in two different places: auth providers template for login/signup pages and account edit page.</p>
<p dir="auto">What the module actually does is it prepares options for <code class="notranslate"><select></code> on the account edit page. That's why it includes localization strings as keys of a hash. The template on login/signup pages needs different strings and ignores the keys. Why do we need then to include the localization strings in <code class="notranslate">Auth</code> at all?</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/5460'>https://github.com/openstreetmap/openstreetmap-website/pull/5460</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5460/commits/615a6693457e01679cdbe4b3e69b1b121ae7a1de" class="commit-link">615a669</a>  Convert Auth.providers into array</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5460/files">3 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5460/files#diff-e60a309ef4c891e6cb7845dfcb970684e61c569372bb66ea1ac9c3a16e699eac">app/views/accounts/edit.html.erb</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5460/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/5460/files#diff-42ba58b2050212a385282d51fd9edfd64ef3ad90633f6e8ea9359137d0128a15">lib/auth.rb</a>
    (18)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5460.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5460.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5460.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5460.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/5460">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLI4SOBUXG2LARPFDUL2IZXCTAVCNFSM6AAAAABURQZK52VHI2DSMVQWIX3LMV43ASLTON2WKOZSG43DONBQGY3TQNY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMRAC4H3FFVKOR5VGL2IZXCTA5CNFSM6AAAAABURQZK52WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKJ42GYM.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/5460</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/5460",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5460",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>