From 156e18b6004b2ae48a4c514642496097c61cd415 Mon Sep 17 00:00:00 2001 From: MostafaMoradii <100101497+MostafaMoradii@users.noreply.github.com> Date: Fri, 27 Oct 2023 18:25:21 +0300 Subject: [PATCH] reset password email link issue. when we are using a queue system to send Emails. we encountered a problem with the reset link in the email. To solve it, I changed the sending of this email from queue mode to instant mode. --- app/Notification/ActivateYourAccount.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Notification/ActivateYourAccount.php b/app/Notification/ActivateYourAccount.php index 86ef5168a..5ca37bf5c 100644 --- a/app/Notification/ActivateYourAccount.php +++ b/app/Notification/ActivateYourAccount.php @@ -2,8 +2,6 @@ use Anomaly\Streams\Platform\Notification\Message\MailMessage; use Anomaly\UsersModule\User\Contract\UserInterface; -use Illuminate\Bus\Queueable; -use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Notification; /** @@ -13,11 +11,8 @@ use Illuminate\Notifications\Notification; * @author PyroCMS, Inc. * @author Ryan Thompson */ -class ActivateYourAccount extends Notification implements ShouldQueue +class ActivateYourAccount extends Notification { - - use Queueable; - /** * Redirect here after activating. *