Skip to content

Commit 9f3d5f3

Browse files
authored
Merge pull request #6 from tominon/patch-1
Allow verification email subject to be translated
2 parents a43e46b + 3593dfd commit 9f3d5f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Notifications/EmailVerification.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ public function toMail($notifiable)
6161
$email = $notifiable->getEmailForEmailVerification();
6262
$link = route('verifyEmailLink', ['email' => $email, 'expiration' => $this->expiration, 'token' => $this->token]);
6363
return (new MailMessage)
64+
->subject(trans('emailverification::messages.resend.title'))
6465
->line(trans('emailverification::messages.email.welcome'))
6566
->line(trans('emailverification::messages.email.instructions'))
6667
->action(trans('emailverification::messages.email.action'), $link);
6768
}
6869

69-
}
70+
}

0 commit comments

Comments
 (0)