Password.setup do |config|
config.parent_mailer = "Application"
end
And our mailer inherit from that parent_mailer
So we can allow user to custom options and layout by their base on rails config
We can also remove this remove this Passwordless.default_from_address = "CHANGE_ME@example.com"
It got this concept from devise. If you are ok I can help
if we do like this
And our mailer inherit from that parent_mailer So we can allow user to custom options and layout by their base on rails config We can also remove this remove this
Passwordless.default_from_address = "CHANGE_ME@example.com"
It got this concept from devise. If you are ok I can help