samedi 15 octobre 2016

Laravel 5.3 - how to just get the token from the "forgot password" functionality?

Using Laravel 5.3, I'm aware of how to change the content of the default password reset email, but that's not the route I want to go down. Our app sends all emails through Mailjet templates, and we have a specifit trait set up so it's easy enough to chuck the emails down that route. To keep things structured, therefore, I want the password reset functionality to operate along the same lines.

All I need to do is to get the token, and just the token, out of the multitude of methods that appear to be involved in resetting the password, and I can then generate the email and link separately and send it through Mailjet.

Any pointers that anyone can give will be much appreciated.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire