changed from mail for devise

This commit is contained in:
2017-04-18 16:52:18 +02:00
parent 1ea3806a7d
commit 2111fe9b46
+1 -1
View File
@@ -12,7 +12,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com'
config.mailer_sender = ENV['FROM_MAIL']
# Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer'