fix reply_to for new pending accounts emails

This commit is contained in:
Kay Faraday 2022-04-14 20:53:36 +00:00
parent 5614da2943
commit 52d7d52dac
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class AdminMailer < ApplicationMailer
@instance = Rails.configuration.x.local_domain
locale_for_account(@me) do
mail to: @me.user_email, subject: I18n.t('admin_mailer.new_pending_account.subject', instance: @instance, username: @account.username)
mail to: @me.user_email, reply_to: user.email, subject: I18n.t('admin_mailer.new_pending_account.subject', instance: @instance, username: @account.username)
end
end