UX: Add password instructions to Reset Password page
Added the password instructions to the reset password page. https://meta.discourse.org/t/reset-password-doesnt-give-password-requirements/19799
This commit is contained in:
parent
8c02f47f23
commit
3bd0c94d96
|
@ -37,6 +37,7 @@
|
|||
<%=form_tag({}, method: :put) do %>
|
||||
<p>
|
||||
<input id="user_password" name="password" size="30" type="password">
|
||||
<label><%= t('js.user.password.instructions', count: SiteSetting.min_password_length) %></label>
|
||||
</p>
|
||||
<p>
|
||||
<%=submit_tag( @user.has_password? ? t('password_reset.update') : t('password_reset.save'), class: 'btn')%>
|
||||
|
|
Loading…
Reference in New Issue