Answer the question
In order to leave comments, you need to log in
Laravel Bug in latest update?
I have MAIL_DRIVER=mailgun
If I do this on a new Laravel:
I set authorization php artisan make:auth
I register and try to recover the password through notification in the queueing notifications
queue I
made a custom notification.
php artisan make:notification MyResetPassword
Added to the User Model:
use App\Notifications\MyResetPassword as ResetPasswordNotification; // Тут MyResetPassword
class User extends Authenticatable
{
use Notifiable;
........
public function sendPasswordResetNotification($token)
{
$this->notify(new ResetPasswordNotification($token));
}
}
Symfony\Component\Debug\Exception\FatalThrowableError: Class 'GuzzleHttp\Client' not found in /data/wwwroot/vendor/laravel/framework/src/Illuminate/Mail/TransportManager.php:185
class ResetPassword extends Notification
Works class ResetPassword extends Notification implements ShouldQueue
Does not work...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question