Merge remote-tracking branch 'upstream/pull/4993'

This commit is contained in:
Tom Hughes 2024-07-15 19:19:23 +01:00
commit 4a62dac9c0
2 changed files with 1 additions and 2 deletions

View file

@ -10,7 +10,6 @@ $(document).ready(function () {
// Add click handler to show OpenID field
$("#openid_open_url").click(function () {
$("#openid_url").val("http://");
$("#login_auth_buttons").hide();
$("#openid_login_form").show();
});

View file

@ -50,7 +50,7 @@
<%= t ".openid_url" %>
</label>
<%= hidden_field_tag("referer", params[:referer], :autocomplete => "off") %>
<%= text_field_tag("openid_url", "", :tabindex => 20, :autocomplete => "on", :class => "form-control") %>
<%= text_field_tag("openid_url", "https://", :tabindex => 20, :autocomplete => "on", :class => "form-control") %>
<span class="form-text text-body-secondary">(<a href="<%= t "accounts.edit.openid.link" %>" target="_new"><%= t "accounts.edit.openid.link text" %></a>)</span>
</div>