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:
parent
ba68682ced
commit
3708e76ac8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user