diff options
Diffstat (limited to 'app/mailers/emails/profile.rb')
-rw-r--r-- | app/mailers/emails/profile.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/mailers/emails/profile.rb b/app/mailers/emails/profile.rb index 2efcba54c13..a8affb34f62 100644 --- a/app/mailers/emails/profile.rb +++ b/app/mailers/emails/profile.rb @@ -26,6 +26,14 @@ module Emails subject: subject(_("GitLab account request rejected"))) end + def user_deactivated_email(name, email) + @name = name + + profile_email_with_layout( + to: email, + subject: subject(_('Your account has been deactivated'))) + end + # rubocop: disable CodeReuse/ActiveRecord def new_ssh_key_email(key_id) @key = Key.find_by(id: key_id) |