Thursday, March 16, 2017

How to translate ResetPasswordNotification

I wonder whats the best way to translate the mail from the PasswortResetNotification.

Change the code inside ResetPassword seems not applicable, since this is part of the vendor folder - same for the CanResetPassword-trait.

My guess is, I have to create my own MyResetPasswordNotification (which could inherit from ResetPasswordNotification) and overwrite the sendPasswordResetNotification-method in my own User Model.

Or is there a better approach, I currently not see?



via Philipp

Advertisement