<?php

namespace App\Notifications;

use App\Livewire\Auth\ForgotPassword;
use Illuminate\Auth\Notifications\ResetPassword;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;

/**
 * Queued variant of the framework reset-password notification.
 *
 * Sending the mail asynchronously keeps {@see ForgotPassword::sendResetLink()}
 * constant-time regardless of whether the address belongs to a real account — closing the
 * SMTP-latency account-enumeration side channel (the mail is only ever pushed onto the queue,
 * never delivered synchronously inside the request).
 */
class QueuedResetPassword extends ResetPassword implements ShouldQueue
{
    use Queueable;
}
