added company name to emails

This commit is contained in:
denisdulici
2017-11-15 21:33:12 +03:00
parent 07583fc1ff
commit 518863fbec
4 changed files with 7 additions and 6 deletions

View File

@ -18,7 +18,6 @@ class Reset extends Notification
* Create a notification instance.
*
* @param string $token
* @return void
*/
public function __construct($token)
{
@ -44,6 +43,8 @@ class Reset extends Notification
*/
public function toMail($notifiable)
{
setting(['general.company_name' => config('app.name')]);
return (new MailMessage)
->line('You are receiving this email because we received a password reset request for your account.')
->action('Reset Password', url('auth/reset', $this->token, true))