diff --git a/app/views/devise/mailer/_password_change_initial.html.erb b/app/views/devise/mailer/_password_change_initial.html.erb index 6645c7c77..39363dc53 100644 --- a/app/views/devise/mailer/_password_change_initial.html.erb +++ b/app/views/devise/mailer/_password_change_initial.html.erb @@ -1,6 +1,6 @@
Hello <%= @resource.name %>!
-An account has been created for you to submit CORE data on behalf of @resource.organisation.
+An account has been created for you to submit CORE data on behalf of <%= @resource.organisation %>.
-Your username is <% @resource.email %>, use the link below to set your password. +
Your username is <%= @resource.email %>, use the link below to set your password.
<%= govuk_link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %>