diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-16 12:13:40 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-16 12:13:40 +0100 |
commit | 2c374cd97cea67447cccee004ae7fe189db9abc5 (patch) | |
tree | 19536f52397397e4bea4d7bfa9fb3e20a1bf9c85 /config/initializers | |
parent | 8767a98fbb013bed01443721c17eadeba70c3421 (diff) |
Adding e-mail configuration
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/devise.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 89747999a..4ddef45ef 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -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['SMTP_FROM_ADDRESS'] || 'notifications@localhost' # Configure the class responsible to send e-mails. # config.mailer = 'Devise::Mailer' |