1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for logincontroller

This commit is contained in:
David Bomba 2023-05-03 10:08:33 +10:00
parent ba68682ced
commit 3708e76ac8

View File

@ -377,6 +377,8 @@ class LoginController extends BaseController
} }
/** @var \App\Models\User $user */ /** @var \App\Models\User $user */
$user = auth()->user();
$user->setCompany($set_company); $user->setCompany($set_company);
$this->setLoginCache($user); $this->setLoginCache($user);