Correctly add device when resending other device

[ci skip]
pull/6827/head
Oliver Günther 6 years ago
parent 357d09cd90
commit 526744dea0
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 1
      app/views/two_factor_authentication/authentication/request_otp.html.erb

@ -48,6 +48,7 @@ end %>
<div id="resend_otp_container" style="display: none"> <div id="resend_otp_container" style="display: none">
<% if resend_supported %> <% if resend_supported %>
<%= styled_form_tag({action: :retry }, autocomplete: 'off', id: 'resend_otp') do %> <%= styled_form_tag({action: :retry }, autocomplete: 'off', id: 'resend_otp') do %>
<%= hidden_field_tag 'use_device', @service.device.id %>
<hr /> <hr />
<div class="resend-header"><%= l(:text_send_otp_again) %></div> <div class="resend-header"><%= l(:text_send_otp_again) %></div>
<div class="radios-wrapper"> <div class="radios-wrapper">

Loading…
Cancel
Save