fix: removed email field from update current password
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
eac85929d1
commit
91e2018253
@ -20,11 +20,6 @@
|
||||
<div class="mt-2 mb-4">
|
||||
<h3><%= t("fields.update_password") %></h3>
|
||||
<%= form_tag profile_update_password_path, method: :post do %>
|
||||
<div class="col-2 mt-2">
|
||||
<%= label_tag :email, t("fields.email") %>
|
||||
<%= email_field_tag :email, current_user.email, class: "form-control" %>
|
||||
</div>
|
||||
|
||||
<div class="col-2 mt-2">
|
||||
<%= label_tag :password, t("fields.new_password") %>
|
||||
<%= password_field_tag :password, nil, class: "form-control" %>
|
||||
|
Loading…
Reference in New Issue
Block a user