Skip to content

Commit

Permalink
Devise should use the specified mail address.
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekEdwards committed Dec 15, 2017
1 parent 489123b commit 303779a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# 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 = '1-Click@camsys.com'
config.mailer_sender = ENV['SMTP_FROM_ADDRESS'] || '1-Click@camsys.com'

# Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer'
Expand Down

0 comments on commit 303779a

Please sign in to comment.