summaryrefslogtreecommitdiff
path: root/app/views/users/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/edit.html.erb')
-rw-r--r--app/views/users/edit.html.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb
index 2cf5a07c..14e19e39 100644
--- a/app/views/users/edit.html.erb
+++ b/app/views/users/edit.html.erb
@@ -59,8 +59,9 @@
59 <p><%= t(".enabled") %></p> 59 <p><%= t(".enabled") %></p>
60 <%= form_tag otp_enrollment_path, :method => :delete, :class => "otp_form" do %> 60 <%= form_tag otp_enrollment_path, :method => :delete, :class => "otp_form" do %>
61 <%= password_field_tag :current_password, nil, :placeholder => t(".current_password"), :autocomplete => "current-password" %> 61 <%= password_field_tag :current_password, nil, :placeholder => t(".current_password"), :autocomplete => "current-password" %>
62 <%= text_field_tag :code, nil, :placeholder => t(".current_code"), 62 <%= text_field_tag :code, nil, :autocomplete => "one-time-code", :inputmode => "numeric",
63 :autocomplete => "one-time-code", :inputmode => "numeric" %> 63 :maxlength => 6, :pattern => "[0-9]{6}", :class => "otp_code" %>
64 <span class="field_hint"> <%= t(".reset_hint") %> </span>
64 <%= button_tag :type => "submit", :class => "action_button" do %> 65 <%= button_tag :type => "submit", :class => "action_button" do %>
65 <%= icon("shield-off", library: "tabler", "aria-hidden": true) %> <%= t(".disable_second_factor") %> 66 <%= icon("shield-off", library: "tabler", "aria-hidden": true) %> <%= t(".disable_second_factor") %>
66 <% end %> 67 <% end %>