我正在嘗試自定義重置密碼刀片。如何在laravel中包含重置密碼電子郵件中的徽標
到目前爲止,
我已經把這段代碼user.php的模型。
public function sendPasswordResetNotification($token)
{
$this->notify(new ResetPasswordNotification($token));
}
而且,
PHP工匠製作:通知MyOwnResetPassword 我用這個命令發佈自定義通知
public function toMail($notifiable)
{
return (new MailMessage)
->subject('Reset Password')
->line('You are receiving this email because we received a password reset request for your account.')
->action('Reset Password', url('admin/password/reset/'.$this->token, false))
->line('If you did not request a password reset, no further action is required.');
}
的問題是如何增加一個標誌?
任何幫助或引用將是巨大的
感謝
使用'line'方法可以顯示圖像標識。同時改變模板 – C2486
thnx中的{{'到'{!!'..我得到了解決方案, – mayur