mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add guards to @auth blocks
This commit is contained in:
parent
0f9b705074
commit
1114f80e82
@ -45,7 +45,7 @@
|
||||
@endif
|
||||
|
||||
<!-- Title -->
|
||||
@auth()
|
||||
@auth('contact')
|
||||
<title>@yield('meta_title', '') — {{ auth()->guard('contact')->user()->user->account->isPaid() ? auth()->guard('contact')->user()->company->present()->name() : 'Invoice Ninja' }}</title>
|
||||
@endauth
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
@endif
|
||||
|
||||
<!-- Title -->
|
||||
@auth()
|
||||
@auth('contact')
|
||||
<title>@yield('meta_title', '') — {{ auth()->guard('contact')->user()->user->account->isPaid() ? auth()->guard('contact')->user()->company->present()->name() : 'Invoice Ninja' }}</title>
|
||||
@endauth
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user