Skip to content

Commit

Permalink
Messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Jan 16, 2024
1 parent b1dbb96 commit 4545ba4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions app/views/devise/otp_credentials/refresh.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<% title "Identity Verification" %>

<div class="row">
<div class="col-md-8 col-md-offset-2" style="margin-bottom: 40px;">
<h3><%= I18n.t('title', :scope => 'devise.otp.credentials_refresh') %></h3>
<p><%= I18n.t('explain', :scope => 'devise.otp.credentials_refresh') %></p>
<h4><%= I18n.t('explain', :scope => 'devise.otp.credentials_refresh') %></h4>

<%= form_for(resource, :as => resource_name, :url => [:refresh, resource_name, :otp_credential], :html => { :method => :put, "data-turbo" => false }) do |f| %>

Expand Down
3 changes: 1 addition & 2 deletions config/locales/devise.otp.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ en:
valid_refresh: 'Thank you, your credentials were accepted.'
invalid_refresh: 'Sorry, you provided the wrong credentials.'
credentials_refresh:
title: 'Please enter your password again.'
explain: 'In order to ensure this is safe, please enter your password again.'
explain: 'Please reauthenticate to verify your identity'
go_on: 'Continue...'
identity: 'Identity:'
token: 'Your two-factor authentication token'
Expand Down

0 comments on commit 4545ba4

Please sign in to comment.