mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
bug fix
This commit is contained in:
parent
b121955cd7
commit
1c48c51407
@ -189,7 +189,7 @@ class LoginController extends BaseController
|
||||
|
||||
$account = CreateAccount::dispatchNow($new_account);
|
||||
|
||||
Auth::login($user, true);
|
||||
Auth::login($account->default_company->owner(), true);
|
||||
|
||||
return redirect($this->redirectTo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user