Activate legacy view to show password confirmation

pull/6827/head
Oliver Günther 6 years ago
parent c014a403b4
commit 0caaa72ee8
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      app/views/two_factor_authentication/my/two_factor_devices/index.html.erb
  2. 2
      app/views/users/_two_factor_authentication_admin.html.erb

@ -22,6 +22,7 @@
</section>
<% end %>
<%= activate_angular_js do %>
<% breadcrumb_paths(t(:label_my_account), t('two_factor_authentication.label_two_factor_authentication')) -%>
<%= toolbar title: t('two_factor_authentication.label_two_factor_authentication') do %>
<li class="toolbar-item">
@ -60,3 +61,4 @@
class: 'button'
end %>
</section>
<% end %>

@ -31,6 +31,7 @@
<% end %>
</section>
<%= activate_angular_js do %>
<section class="admin--edit-section">
<%= toolbar title: t('two_factor_authentication.label_devices') do %>
<% unless devices.empty? %>
@ -57,3 +58,4 @@
<%= cell ::TwoFactorAuthentication::Devices::TableCell, devices, admin_table: true || @user != User.current %>
</div>
</section>
<% end %>

Loading…
Cancel
Save