Redirect to password reset in case of existing user
This commit is contained in:
parent
b08e405784
commit
d6c76ceff7
2 changed files with 12 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
.form-group
|
||||
= f.label :email, "Email"
|
||||
%abbr{title: 'This field is required'} *
|
||||
= f.email_field :email, autofocus: true, required: true, class: 'form-control', placeholder: 'Email'
|
||||
= f.email_field :email, autofocus: true, required: true, class: 'form-control', placeholder: 'Email', value: params.dig(:user, :email)
|
||||
%p.text-right
|
||||
%button{type: 'submit', class: 'btn btn-success'}
|
||||
Send me reset password instructions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue