added company name to emails
This commit is contained in:
parent
07583fc1ff
commit
518863fbec
@ -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))
|
||||
|
@ -2,7 +2,7 @@
|
||||
{{-- Header --}}
|
||||
@slot('header')
|
||||
@component('mail::header', ['url' => config('app.url')])
|
||||
{{ config('app.name') }}
|
||||
{{ setting('general.company_name', config('app.name')) }}
|
||||
@endcomponent
|
||||
@endslot
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
{{-- Footer --}}
|
||||
@slot('footer')
|
||||
@component('mail::footer')
|
||||
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
|
||||
© {{ date('Y') }} {{ setting('general.company_name', config('app.name')) }}. All rights reserved.
|
||||
@endcomponent
|
||||
@endslot
|
||||
@endcomponent
|
||||
|
@ -2,7 +2,7 @@
|
||||
{{-- Header --}}
|
||||
@slot('header')
|
||||
@component('mail::header', ['url' => config('app.url')])
|
||||
{{ config('app.name') }}
|
||||
{{ setting('general.company_name', config('app.name')) }}
|
||||
@endcomponent
|
||||
@endslot
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
{{-- Footer --}}
|
||||
@slot('footer')
|
||||
@component('mail::footer')
|
||||
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
|
||||
© {{ date('Y') }} {{ setting('general.company_name', config('app.name')) }}. All rights reserved.
|
||||
@endcomponent
|
||||
@endslot
|
||||
@endcomponent
|
||||
|
@ -45,7 +45,7 @@
|
||||
@if (! empty($salutation))
|
||||
{{ $salutation }}
|
||||
@else
|
||||
Regards,<br>{{ config('app.name') }}
|
||||
Regards,<br>{{ setting('general.company_name', config('app.name')) }}
|
||||
@endif
|
||||
|
||||
<!-- Subcopy -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user