26 lines
728 B
PHP
26 lines
728 B
PHP
<?php
|
|
|
|
namespace App\Notifications\Auth;
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Auth\Notifications\VerifyEmail as VerifyEmailNotification;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Notifications\Messages\MailMessage;
|
|
|
|
class VerifyEmail extends VerifyEmailNotification implements ShouldQueue
|
|
{
|
|
use Queueable;
|
|
|
|
/**
|
|
* Build the mail representation of the notification.
|
|
*
|
|
* @param mixed $notifiable
|
|
* @return \Illuminate\Notifications\Messages\MailMessage
|
|
*/
|
|
public function toMail($notifiable)
|
|
{
|
|
$verificationUrl = $this->verificationUrl($notifiable);
|
|
|
|
return (new MailMessage)->view('admin.mails.user.verify', ['url' => $verificationUrl]);
|
|
}
|
|
} |