Sha256: a225b0c4117771bc007386e6cc72fd81e1cd1e17a22c58ab956b84f30ab6eca6
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
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><%= button_to I18n.t('reset_otp', :scope => 'devise.otp.token_secret'), @resource, :method => :delete, :data => { "turbo-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.otp_tokens.recovery') %></h3> <p><%= I18n.t('explain', :scope => 'devise.otp.otp_tokens.recovery') %></p> <p><%= link_to I18n.t('codes_list', :scope => 'devise.otp.otp_tokens.recovery'), recovery_otp_token_for(resource_name) %></p> <p><%= link_to I18n.t('download_codes', :scope => 'devise.otp.otp_tokens.recovery'), recovery_otp_token_for(resource_name, format: :text) %></p> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-otp-0.6.0 | app/views/devise/otp_tokens/_token_secret.html.erb |
devise-otp-0.5.0 | app/views/devise/otp_tokens/_token_secret.html.erb |