Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gitcrypto-bucked's avatar

Laravel 10 send email with token for user create a password

Hi I'm new in Laravel and I d' like a little help, how can I implement an email send with token for user create a new password. My flux is that, the admin create a new user, and send to this user an email for him create his password.

Thanks

0 likes
1 reply
tykus's avatar

You can create a Notification whenever the User is created by the Admin. Th implementation will be very similar to the PasswordReset functionality which uses the Illuminate\Auth\Notifications\ResetPassword Notification class, along with the Illuminate\Auth\Passwords\CanResetPassword trait.

Please or to participate in this conversation.