mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Merge pull request #739 from albertsun/devise-email-from
Have devise send mail from the ENV['EMAIL_FROM_ADDRESS'] address
This commit is contained in:
commit
45eade1825
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,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['EMAIL_FROM_ADDRESS'].presence || 'you@example.com'
|
||||
|
||||
# Configure the class responsible to send e-mails.
|
||||
# config.mailer = 'Devise::Mailer'
|
||||
|
|
Loading…
Add table
Reference in a new issue