]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/account.html.erb
Use rails 5 version of redirect_back.
[rails.git] / app / views / user / account.html.erb
index 93ee79cb68e1f09b40ac715f14e455ddf9be9e3f..47a84e99bcbb86823f90ba45096889a3c453ba74 100644 (file)
@@ -48,7 +48,7 @@
   <fieldset>
     <div class="form-row">
       <label class="standard-label"><%= t 'user.account.external auth' %></label>
-      <%= f.select :auth_provider, { "None" => "", "OpenID" => "openid" } %>
+      <%= f.select :auth_provider, Auth::PROVIDERS %>
       <%= f.text_field :auth_uid %>
       <span class="form-help deemphasize">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
     </diV>