diff --git a/app/views/devise/mailer/_password_change_initial.html.erb b/app/views/devise/mailer/_password_change_initial.html.erb index 39363dc53..e4437a639 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.name %>.
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) %>