api code global jain
This commit is contained in:
26
app/Notifications/Auth/VerifyEmail.php
Normal file
26
app/Notifications/Auth/VerifyEmail.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user