about summary refs log tree commit diff
path: root/app/mailers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-02-19 11:33:18 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-02-19 11:33:18 +0100
commitdc121b609f25dcfd39b10dfcc69da95a3a63ff12 (patch)
tree5e5e43faa68f1b6320f48d8d5c724d91873ae962 /app/mailers
parentc8ef003c6b40e9b7212f43f1b5706b0967fcfe8a (diff)
parent2e89067d216d5044ada14ad7a8919b686dfa0839 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/user_mailer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index 583c948b0..1a823328c 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -169,7 +169,7 @@ class UserMailer < Devise::Mailer
     I18n.with_locale(@resource.locale || I18n.default_locale) do
       mail to: @resource.email,
            subject: I18n.t("user_mailer.warning.subject.#{@warning.action}", acct: "@#{user.account.local_username_and_domain}"),
-           reply_to: Setting.site_contact_email
+           reply_to: ENV['SMTP_REPLY_TO']
     end
   end
 
@@ -206,7 +206,7 @@ class UserMailer < Devise::Mailer
     I18n.with_locale(@resource.locale || I18n.default_locale) do
       mail to: @resource.email,
            subject: I18n.t('user_mailer.sign_in_token.subject'),
-           reply_to: Setting.site_contact_email
+           reply_to: ENV['SMTP_REPLY_TO']
     end
   end
 end