diff --git a/app/views/devise/otp_credentials/refresh.html.erb b/app/views/devise/otp_credentials/refresh.html.erb index 139d2f63..8364ac5c 100644 --- a/app/views/devise/otp_credentials/refresh.html.erb +++ b/app/views/devise/otp_credentials/refresh.html.erb @@ -1,7 +1,8 @@ +<% title "Identity Verification" %> +
-

<%= I18n.t('title', :scope => 'devise.otp.credentials_refresh') %>

-

<%= I18n.t('explain', :scope => 'devise.otp.credentials_refresh') %>

+

<%= I18n.t('explain', :scope => 'devise.otp.credentials_refresh') %>

<%= form_for(resource, :as => resource_name, :url => [:refresh, resource_name, :otp_credential], :html => { :method => :put, "data-turbo" => false }) do |f| %> diff --git a/config/locales/devise.otp.en.yml b/config/locales/devise.otp.en.yml index 88c5eb96..4227f5eb 100644 --- a/config/locales/devise.otp.en.yml +++ b/config/locales/devise.otp.en.yml @@ -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'