When the password broker sends the reset password email, the email does not have a subject. If you look into the Password Broker class, you will see that a subject is not even set:
public function emailResetLink(CanResetPasswordContract $user, $token, Closure $callback = null)
{
// We will use the reminder view that was given to the broker to display the
// password reminder e-mail. We'll pass a "token" variable into the views
// so that it may be displayed for an user to click for password reset.
$view = $this->emailView;
return $this->mailer->send($view, compact('token', 'user'), function($m) use ($user, $token, $callback)
{
$m->to($user->getEmailForPasswordReset());
if ( ! is_null($callback)) call_user_func($callback, $m, $user, $token);
});
}
Is there a way to set a subject for the email without overwriting the Password Broker? I have tried making the email view an HTML instead of text view and adding a <title> tag, but that didn't seem to help? Any ideas?