Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/mailers/emails/profile.rb')
-rw-r--r--app/mailers/emails/profile.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/mailers/emails/profile.rb b/app/mailers/emails/profile.rb
index a382ca15e46..25d68d47228 100644
--- a/app/mailers/emails/profile.rb
+++ b/app/mailers/emails/profile.rb
@@ -6,7 +6,7 @@ module Emails
@current_user = @user = User.find(user_id)
@target_url = user_url(@user)
@token = token
- mail_with_locale(to: @user.notification_email_or_default, subject: subject("Account was created for you"))
+ email_with_layout(to: @user.notification_email_or_default, subject: subject("Account was created for you"))
end
def instance_access_request_email(user, recipient)
@@ -65,7 +65,7 @@ module Emails
@target_url = profile_personal_access_tokens_url
@token_name = token_name
- mail_with_locale(to: @user.notification_email_or_default, subject: subject(_("A new personal access token has been created")))
+ email_with_layout(to: @user.notification_email_or_default, subject: subject(_("A new personal access token has been created")))
end
def access_token_about_to_expire_email(user, token_names)
@@ -107,7 +107,7 @@ module Emails
@fingerprints = fingerprints
@target_url = profile_keys_url
- mail_with_locale(to: @user.notification_email_or_default, subject: subject(_("Your SSH key has expired")))
+ email_with_layout(to: @user.notification_email_or_default, subject: subject(_("Your SSH key has expired")))
end
def ssh_key_expiring_soon_email(user, fingerprints)