OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/views/users/_two_factor_authentication_...

14 lines
506 B

<% default_device = @user.otp_devices.get_default %>
<section class="admin--edit-section">
<%= render partial: 'two_factor_authentication/my/two_factor_devices/two_factor_status', locals: { device: default_device }%>
</section>
<section class="admin--edit-section">
<p>
<% self_link = link_to t('two_factor_authentication.admin.self_edit_link_name'), my_2fa_devices_path %>
<%= t('two_factor_authentication.admin.self_edit_path', self_edit_link: self_link).html_safe %>
</p>
</section>