Merge pull request #2834 from techAPJ/patch-1

trigger "browser password manager" for password reset page
This commit is contained in:
Sam 2014-10-02 16:49:00 +10:00
commit 489078bfcf
1 changed files with 3 additions and 3 deletions

View File

@ -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>