File: /home/xedaptot/ai.naniguide.com/app/Notifications/ResetPassword.php
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Auth\Notifications\ResetPassword as BaseResetPassword;
class ResetPassword extends BaseResetPassword
{
protected $resetPasswordUrl;
/**
* Create a notification instance.
*
* @param string $token
* @return void
*/
public function __construct($token, $resetPasswordUrl)
{
$this->token = $token;
$this->resetPasswordUrl = $resetPasswordUrl;
}
/**
* Get the mail representation of the notification.
*
* @param mixed $notifiable
* @return \Illuminate\Notifications\Messages\MailMessage
*/
public function toMail($notifiable)
{
return (new MailMessage())
->line(trans('messages.click_here_to_reset_password'))
->action(trans('messages.reset_password'), $this->resetPasswordUrl);
//->line('If you did not request a password reset, no further action is required.');
}
}