janko / rodauth-rails

Rails integration for Rodauth authentication framework
https://github.com/jeremyevans/rodauth
MIT License
571 stars 40 forks source link

changing email subject on password reset rquest #58

Closed gismoog closed 2 years ago

gismoog commented 2 years ago

Hello,

I'am trying to change the email subject with

reset_password_email_subject "Passwort zurücksetzen"

in lib/rodauth_app.rb.

I also changed the mail template which works great, but the email subject still says "Reset password".

I would be very grateful for a tip.

gismoog commented 2 years ago
de:
  rodauth:
    reset_password_email_subject: "Passwort zurücksetzen"

does not work, too.

janko commented 2 years ago

The default rodauth-rails installation in recent versions sets up a custom mailer class, which doesn't use Rodauth settings. This is where you configure subject, body and other.

gismoog commented 2 years ago

Yihhhaaaa!

Thanks - just found it ;-)

Everything works now as expected.