I have the following lines of code
// Creates new password reminder token and deletes old one.
$token = app('auth.reminder.repository')->create($user);
The $token is then used to send an email and allow users to change their password.
In Laravel 5.8 the auth.reminder.repository does not exists.
In Laravel 4.x in was aliased to Auth\Reminders\ReminderServiceProvider
Need help figuring out how to update the code for Laravel 5.8.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire