]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/account.html.erb
Cache OpenID provider names on a per-locale basis
[rails.git] / app / views / users / account.html.erb
index fadb74f4c4abcec2cd1d88d813a14e6f476c8c61..51c933b5d51f7341dc2a0091f4b219ffdb19e4ae 100644 (file)
@@ -48,7 +48,7 @@
   <fieldset>
     <div class="standard-form-row">
       <label class="standard-label"><%= t ".external auth" %></label>
-      <%= f.select :auth_provider, Auth::PROVIDERS %>
+      <%= f.select :auth_provider, Auth.providers %>
       <%= f.text_field :auth_uid %>
       <span class="form-help deemphasize">(<a href="<%= t ".openid.link" %>" target="_new"><%= t ".openid.link text" %></a>)</span>
     </div>