mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 19:48:18 +08:00
Profile - 2FA error page [SCI-8779] (#5734)
* Fix 2FA form submit [SCI-8779]
This commit is contained in:
parent
d8658991d6
commit
a1e32e0c3d
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span></button>
|
||||
<h2 class="modal-title"><%= t("users.registrations.edit.2fa_modal.disable.title") %></h2>
|
||||
</div>
|
||||
<%= form_with(url: main_app.users_2fa_disable_path, method: "post", class: "2fa-disable-form") do %>
|
||||
<%= form_with(url: main_app.users_2fa_disable_path, method: "post", class: "2fa-disable-form", html: { data: { remote: true } }) do %>
|
||||
<div class="modal-body">
|
||||
<p><%= t("users.registrations.edit.2fa_modal.disable.description") %></p>
|
||||
<%= label_tag :password, t("users.registrations.edit.2fa_modal.disable.password_label") %>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span></button>
|
||||
<h2 class="modal-title"><%= t("users.registrations.edit.2fa_modal.step_3.title") %></h2>
|
||||
</div>
|
||||
<%= form_with(url: main_app.users_2fa_enable_path, method: "post", class: "2fa-enable-form") do %>
|
||||
<%= form_with(url: main_app.users_2fa_enable_path, method: "post", class: "2fa-enable-form", html: { data: { remote: true } }) do %>
|
||||
<div class="modal-body">
|
||||
<p><%= t("users.registrations.edit.2fa_modal.step_3.description") %></p>
|
||||
<p class="sci-input-container submit-code-field">
|
||||
|
|
Loading…
Reference in a new issue