Use the configured display name in e-mails from Devise mailer

This commit is contained in:
Stan Hu 2015-05-05 19:54:21 -07:00
parent 5bff135fb3
commit 1dc906d586

View file

@ -1,4 +1,4 @@
class DeviseMailer < Devise::Mailer
default from: "GitLab <#{Gitlab.config.gitlab.email_from}>"
default from: "#{Gitlab.config.gitlab.email_display_name} <#{Gitlab.config.gitlab.email_from}>"
default reply_to: Gitlab.config.gitlab.email_reply_to
end