fix: removed email field from update current password

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2023-04-06 20:07:44 +02:00
parent eac85929d1
commit 91e2018253
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -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" %>