|
|
|
@ -12,8 +12,8 @@
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<% if resource.direct_otp %> |
|
|
|
|
<%= link_to "Resend Code", resend_code_user_two_factor_authentication_path, action: :get %> |
|
|
|
|
<%= link_to "Resend Code", send("resend_code_#{resource_name}_two_factor_authentication_path"), action: :get %> |
|
|
|
|
<% else %> |
|
|
|
|
<%= link_to "Send me a code instead", resend_code_user_two_factor_authentication_path, action: :get %> |
|
|
|
|
<%= link_to "Send me a code instead", send("resend_code_#{resource_name}_two_factor_authentication_path"), action: :get %> |
|
|
|
|
<% end %> |
|
|
|
|
<%= link_to "Sign out", destroy_user_session_path, :method => :delete %> |
|
|
|
|
<%= link_to "Sign out", send("destroy_#{resource_name}_session_path"), :method => :delete %> |
|
|
|
|