mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Require account is confirmed to add company
This commit is contained in:
parent
697e224bed
commit
692e17da58
@ -298,7 +298,7 @@
|
||||
])
|
||||
@endif
|
||||
<li class="divider"></li>
|
||||
@if (Utils::isAdmin())
|
||||
@if (Utils::isAdmin() && Auth::user()->confirmed)
|
||||
@if (count(session(SESSION_USER_ACCOUNTS)) > 1)
|
||||
<li>{!! link_to('/manage_companies', trans('texts.manage_companies')) !!}</li>
|
||||
@elseif (!session(SESSION_USER_ACCOUNTS) || count(session(SESSION_USER_ACCOUNTS)) < 5)
|
||||
|
Loading…
Reference in New Issue
Block a user