Question

I have a project that is built on LocomtiveCMS, which already has reset password functionality built in. However, the reset password email it currently sends has just a basic skeleton wording.

How do I make a custom message to use in the email sent out for resetting a password?

Was it helpful?

Solution

Inside your main app, all you have to do is to add a new file at this location: /app/views/locomotive/devise_mailer/reset_password_instructions.html.haml.

After a restart of your server, Devise should use this file as the new template for the reset password instructions.

We did that for LocomotiveHosting.com (which is built on top on the LocomotiveCMS engine) and it works well.

Thanks!

Did

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top