diff --git a/app/views/devise/confirmations/invalid.html.erb b/app/views/devise/confirmations/invalid.html.erb index 8d3ad96df..32219f0f4 100644 --- a/app/views/devise/confirmations/invalid.html.erb +++ b/app/views/devise/confirmations/invalid.html.erb @@ -7,6 +7,5 @@
It looks like you have requested a newer join link than this one. Check your emails and follow the most recent link instead.
- diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index 5f36dc388..3fc34aee6 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -6,11 +6,11 @@ <%= content_for(:title) %> <%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> - -For security reasons, your join link expired - get another one using the button below (valid for 3 hours).
+For security reasons, your link expired - get another one using the button below (valid for 24 hours).
<%= f.hidden_field :email, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> - <%= f.govuk_submit "Get a new join link" %> + + <%= f.govuk_submit "Get a new link" %> <% end %> diff --git a/spec/requests/auth/confirmations_controller_spec.rb b/spec/requests/auth/confirmations_controller_spec.rb index aa7f93d65..e7e2e1815 100644 --- a/spec/requests/auth/confirmations_controller_spec.rb +++ b/spec/requests/auth/confirmations_controller_spec.rb @@ -40,7 +40,7 @@ RSpec.describe Auth::ConfirmationsController, type: :request do end it "shows the expired page" do - expect(page).to have_content("For security reasons, your join link expired - get another one using the button below (valid for 3 hours).") + expect(page).to have_content("For security reasons, your link expired - get another one using the button below (valid for 24 hours).") end end