trigger password manager for password reset page
This commit is contained in:
parent
7a0b1c1dff
commit
14bc197cf6
|
@ -21,7 +21,6 @@
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<a class="btn" href="/"><%= t('password_reset.continue', site_name: SiteSetting.title) %></a>
|
<a class="btn" href="/"><%= t('password_reset.continue', site_name: SiteSetting.title) %></a>
|
||||||
<%= render partial: 'auto_redirect_home' %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -36,6 +35,7 @@
|
||||||
|
|
||||||
<%=form_tag({}, method: :put) do %>
|
<%=form_tag({}, method: :put) do %>
|
||||||
<p>
|
<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 %>">
|
<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>
|
<label><%= t('js.user.password.instructions', count: SiteSetting.min_password_length) %></label>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue