1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-26 10:21:14 +00:00
redmine/app/views/twofa_backup_codes/confirm.html.erb
Go MAEDA 8900eb6eb5 Backup codes for 2fa auth (#1237).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-29 06:51:21 +00:00

16 lines
510 B
Plaintext

<h2><%=l 'twofa_generate_backup_codes' -%></h2>
<div class="splitcontentleft">
<%= form_tag({ action: :create },
{ method: :post,
id: 'twofa_form' }) do -%>
<%= render partial: 'twofa/twofa_code_form' -%>
<%= submit_tag l('button_submit'), name: :submit_otp -%>
<%= link_to l('twofa_resend_code'), { action: 'init' }, method: :post if @twofa_view[:resendable] -%>
<% end %>
</div>
<% content_for :sidebar do %>
<%= render :partial => 'my/sidebar' %>
<% end %>