Welcome email now welcomes you to your instance title, not to mastodon

This commit is contained in:
Emma Winston
2019-09-13 02:36:45 +01:00
parent 4b7548c760
commit 5406acd04b
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ class UserMailer < Devise::Mailer
return if @resource.disabled?
I18n.with_locale(@resource.locale || I18n.default_locale) do
mail to: @resource.email, subject: I18n.t('user_mailer.welcome.subject')
mail to: @resource.email, subject: I18n.t('user_mailer.welcome.subject', title: Setting.site_title)
end
end