1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Current_company=true

This commit is contained in:
= 2021-04-29 21:36:34 +10:00
parent cbfc44d7d0
commit 7d01858b3a

View File

@ -284,8 +284,8 @@ class LoginController extends BaseController
});
// if($request->has('current_company') && $request->input('current_company') == 'true')
// $cu->where("company_id", $company_token->company_id);
if($request->has('current_company') && $request->input('current_company') == 'true')
$cu->where("company_id", $company_token->company_id);
return $this->refreshResponse($cu);
}