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.
This commit is contained in:
MostafaMoradii 2023-10-27 18:25:21 +03:00 committed by GitHub
parent 5eec7c127b
commit 156e18b600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,6 @@
use Anomaly\Streams\Platform\Notification\Message\MailMessage; use Anomaly\Streams\Platform\Notification\Message\MailMessage;
use Anomaly\UsersModule\User\Contract\UserInterface; use Anomaly\UsersModule\User\Contract\UserInterface;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Notification; use Illuminate\Notifications\Notification;
/** /**
@ -13,11 +11,8 @@ use Illuminate\Notifications\Notification;
* @author PyroCMS, Inc. <support@pyrocms.com> * @author PyroCMS, Inc. <support@pyrocms.com>
* @author Ryan Thompson <ryan@pyrocms.com> * @author Ryan Thompson <ryan@pyrocms.com>
*/ */
class ActivateYourAccount extends Notification implements ShouldQueue class ActivateYourAccount extends Notification
{ {
use Queueable;
/** /**
* Redirect here after activating. * Redirect here after activating.
* *