Skip to content

Commit

Permalink
Hotfix: configure devise mail_sender using envvars
Browse files Browse the repository at this point in the history
  • Loading branch information
Novruu committed Jun 7, 2024
1 parent c707802 commit 0183ee2
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 = '[email protected]'
config.mailer_sender = ENV.fetch('MADELINE_EMAIL_FROM')

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

0 comments on commit 0183ee2

Please sign in to comment.