Merge pull request #2834 from techAPJ/patch-1
trigger "browser password manager" for password reset page
This commit is contained in:
commit
489078bfcf
|
@ -21,7 +21,6 @@
|
|||
<br>
|
||||
<br>
|
||||
<a class="btn" href="/"><%= t('password_reset.continue', site_name: SiteSetting.title) %></a>
|
||||
<%= render partial: 'auto_redirect_home' %>
|
||||
<% end %>
|
||||
</p>
|
||||
<% else %>
|
||||
|
@ -36,6 +35,7 @@
|
|||
|
||||
<%=form_tag({}, method: :put) do %>
|
||||
<p>
|
||||
<span style="display: none;"><input name="username" type="text" value="<%= @user.username %>"></span>
|
||||
<input id="user_password" name="password" size="30" type="password" maxlength="<%= User.max_password_length %>">
|
||||
<label><%= t('js.user.password.instructions', count: SiteSetting.min_password_length) %></label>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue