mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 04:34:13 -06:00
Merge pull request #2776 from cpradio/add-reset-password-instructions
UX: Add password instructions to Reset Password page
This commit is contained in:
commit
5dfd3fc8eb
@ -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
Block a user