Sha256: e5aeca230455805d0fb594315d5f61cef7a440b7937d402ffe2ca3badd50c8e3

Contents?: true

Size: 940 Bytes

Versions: 4

Compression:

Stored size: 940 Bytes

Contents

<h3><%= I18n.t('title', {:scope => 'devise.otp.token_secret'}) %></h3>
<p><%= I18n.t('explain', {:scope => 'devise.otp.token_secret'}) %></p>

<%= otp_authenticator_token_image(resource) %>

<p><strong><%= I18n.t('manual_provisioning', {:scope => 'devise.otp.token_secret'}) %>:</strong>
  <code><%= resource.otp_auth_secret %></code></p>

<p><%= link_to I18n.t('reset_otp', {:scope => 'devise.otp.token_secret'}), @resource, :method => :delete %></p>
<p><%= I18n.t('reset_explain', {:scope => 'devise.otp.token_secret'}) %>
   <strong><%= I18n.t('reset_explain_warn', {:scope => 'devise.otp.token_secret'}) %></strong></p>

<%- if recovery_enabled? %>
  <h3><%= I18n.t('title', {:scope => 'devise.otp.tokens.recovery'}) %></h3>
  <p><%= I18n.t('explain', {:scope => 'devise.otp.tokens.recovery'}) %></p>
  <p><%= link_to I18n.t('codes_list', {:scope => 'devise.otp.tokens.recovery'}), recovery_otp_token_for(resource_name) %></p>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise-otp-0.2.3 app/views/devise_otp/tokens/_token_secret.html.erb
devise-otp-0.2.2 app/views/devise_otp/tokens/_token_secret.html.erb
devise-otp-0.2.0 app/views/devise_otp/tokens/_token_secret.html.erb
devise-otp-0.1.1 app/views/devise_otp/tokens/_token_secret.html.erb