skunkbad
4573
9
Laravel

Create password reset token manually?

Posted 3 years ago by skunkbad

I'd like to create the password reset token manually, meaning I'd like to insert it into the database, and put it into a link in an email manually. I'm choosing to do this because I use a external mail queue. So I thought I might just be able to make the token like this:

$response = Password::broker($broker);

But it doesn't create the row in the password_resets table, and I'm not able to get the token from what I see in $response. I need some help with this if anyone can help.

Please sign in or create an account to participate in this conversation.