chore: update default email in application mailer
- Change default from email to a placeholder value - This avoids using sensitive environment variables during development This change ensures that the application does not expose sensitive information while still allowing for email functionality in a development environment.
This commit is contained in:
parent
7cf8411afa
commit
6ebc85c77a
@ -1,4 +1,4 @@
|
|||||||
class ApplicationMailer < ActionMailer::Base
|
class ApplicationMailer < ActionMailer::Base
|
||||||
default from: ENV.fetch("RAILS_SMTP_USERNAME", Rails.application.credentials.dig(:smtp, :user_name))
|
default from: ENV.fetch("RAILS_SMTP_USERNAME", "user@example.com")
|
||||||
layout "mailer"
|
layout "mailer"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user