mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-22 21:11:38 +02:00
Remove unwanted queuing on auth notifications - Fixes #397
This commit is contained in:
parent
22c0d341de
commit
bc96815deb
@ -3,16 +3,12 @@
|
|||||||
namespace App\Notifications;
|
namespace App\Notifications;
|
||||||
|
|
||||||
use App\Models\AuthLog;
|
use App\Models\AuthLog;
|
||||||
use Illuminate\Bus\Queueable;
|
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
use Jenssegers\Agent\Agent;
|
use Jenssegers\Agent\Agent;
|
||||||
|
|
||||||
class FailedLoginNotification extends Notification implements ShouldQueue
|
class FailedLoginNotification extends Notification
|
||||||
{
|
{
|
||||||
use Queueable;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A user agent parser instance.
|
* A user agent parser instance.
|
||||||
*
|
*
|
||||||
|
@ -3,16 +3,12 @@
|
|||||||
namespace App\Notifications;
|
namespace App\Notifications;
|
||||||
|
|
||||||
use App\Models\AuthLog;
|
use App\Models\AuthLog;
|
||||||
use Illuminate\Bus\Queueable;
|
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
use Jenssegers\Agent\Agent;
|
use Jenssegers\Agent\Agent;
|
||||||
|
|
||||||
class SignedInWithNewDeviceNotification extends Notification implements ShouldQueue
|
class SignedInWithNewDeviceNotification extends Notification
|
||||||
{
|
{
|
||||||
use Queueable;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The AuthLog model instance
|
* The AuthLog model instance
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user