registrar usuario de tipo comprador, comente algunas cosas del codigo
This commit is contained in:
@@ -15,33 +15,33 @@ class EmailVerificationNotification extends Notification
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
public $verificationCode;
|
||||
// public $verificationCode;
|
||||
|
||||
public function __construct($verificationCode)
|
||||
{
|
||||
$this->verificationCode = $verificationCode;
|
||||
}
|
||||
// public function __construct($verificationCode)
|
||||
// {
|
||||
// $this->verificationCode = $verificationCode;
|
||||
// }
|
||||
|
||||
public function via($notifiable)
|
||||
{
|
||||
return ['mail'];
|
||||
}
|
||||
// public function via($notifiable)
|
||||
// {
|
||||
// return ['mail'];
|
||||
// }
|
||||
|
||||
public function toMail($notifiable)
|
||||
{
|
||||
$verificationCode = $this->verificationCode;
|
||||
// public function toMail($notifiable)
|
||||
// {
|
||||
// $verificationCode = $this->verificationCode;
|
||||
|
||||
return (new MailMessage)
|
||||
->subject(translate('Email Verification - ') . env('APP_NAME'))
|
||||
->line('Your verification code is: ' . $verificationCode); // Mostrar el código de verificación en el correo
|
||||
}
|
||||
// return (new MailMessage)
|
||||
// ->subject(translate('Email Verification - ') . env('APP_NAME'))
|
||||
// ->line('Your verification code is: ' . $verificationCode); // Mostrar el código de verificación en el correo
|
||||
// }
|
||||
|
||||
public function toArray($notifiable)
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
// public function toArray($notifiable)
|
||||
// {
|
||||
// return [
|
||||
// //
|
||||
// ];
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user