mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.25k stars 86 forks source link

pass token to email subject translation #224

Open luiscobot opened 2 months ago

luiscobot commented 2 months ago

I think it is better to have the option to pass the token in the email subject, so we do not need to even open the email, maybe we can only see the notification in the phone and right there will be the token.

With this change we could use the token in the email subject locales key.

CleanShot 2024-04-26 at 19 14 22@2x

mikker commented 2 months ago

Thank you for contributing this.

Does it complain if you don't include %{token} in your subject, like we don't in the default?