mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
Refringe
53b67b23dd
The email verification and password reset notifications are now handled on a queue.
26 lines
540 B
PHP
26 lines
540 B
PHP
<?php
|
|
|
|
namespace App\Notifications;
|
|
|
|
use Illuminate\Auth\Notifications\ResetPassword as OriginalResetPassword;
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
|
|
/**
|
|
* This class exists solely to make the original notification queueable.
|
|
*/
|
|
class ResetPassword extends OriginalResetPassword implements ShouldQueue
|
|
{
|
|
use Queueable;
|
|
|
|
public function __construct($token)
|
|
{
|
|
parent::__construct($token);
|
|
}
|
|
|
|
public function toArray(object $notifiable): array
|
|
{
|
|
return [];
|
|
}
|
|
}
|