Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
47 | public function toMail($notifiable) |
||
48 | { |
||
49 | $email = encrypt($notifiable->getEmailForPasswordReset()); |
||
50 | |||
51 | $link = route('password.reset', ['token' => $this->token, 'email' => $email]); |
||
52 | |||
53 | return (new MailMessage) |
||
54 | ->line('You are receiving this email because we received a password reset request for your account.') |
||
55 | ->action('Reset Password', $link) |
||
56 | ->line('If you did not request a password reset, no further action is required.'); |
||
57 | } |
||
72 |