/home/techb158/ileadtechnology.com/SSM/app/Notifications
Edit: /home/techb158/ileadtechnology.com/SSM/app/Notifications/TwoFactorSecurity.php (1455B)
code = $code;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return ['mail'];
}
/**
* To send Two Factor Code after Login
*
* @param mixed $notifiable
* @return \Illuminate\Notifications\Messages\MailMessage
*/
public function toMail($notifiable)
{
return (new MailMessage)
->subject('Two Factor Auth | '.config('config.institute_name'))
->line('Your one time two factor security code is: '.$this->code.'.')
->line('This code is only valid for next 10 minutes.')
->line('Thank you for using our application!');
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
}