mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for multidb UserController
This commit is contained in:
parent
a4891bafa8
commit
6b0d75a666
@ -216,7 +216,8 @@ class UserController extends BaseController
|
||||
event(new UserWasCreated($user, auth()->user(), $company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null)));
|
||||
|
||||
$user->setCompany($company);
|
||||
|
||||
$user->company_id = $company->id;
|
||||
|
||||
return $this->itemResponse($user);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user