mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Merge pull request #5799 from turbo124/v5-develop
Fixes for multidb UserController
This commit is contained in:
commit
76d8ec99c9
@ -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