From 01421999aeee60c1bb24a8509a9d1b9ebe34b4d9 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 20 Jan 2018 01:32:05 +0100 Subject: Make text e-mails consistent with HTML ones in UserMailer (#6291) * Make text e-mails consistent with HTML ones in UserMailer * Fix UserMailer specs --- app/views/user_mailer/email_changed.en.text.erb | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 app/views/user_mailer/email_changed.en.text.erb (limited to 'app/views/user_mailer/email_changed.en.text.erb') diff --git a/app/views/user_mailer/email_changed.en.text.erb b/app/views/user_mailer/email_changed.en.text.erb deleted file mode 100644 index 971972461..000000000 --- a/app/views/user_mailer/email_changed.en.text.erb +++ /dev/null @@ -1,13 +0,0 @@ -Hello <%= @resource.email %>! - -<% if @resource&.unconfirmed_email? %> -We're contacting you to notify you that the email you use on <%= @instance %> is being changed to <%= @resource.unconfirmed_email %>. -<% else %> -We're contacting you to notify you that the email you use on <%= @instance %> has been changed to <%= @resource.email %>. -<% end %> - -If you did not change your email, it is likely that someone has gained access to your account. Please change your password immediately or contact the instance admin if you're locked out of your account. - -Sincerely, - -The <%= @instance %> team -- cgit