mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Should allow to store new accounts.
This commit is contained in:
@@ -52,8 +52,8 @@ class AccountController extends Controller
|
||||
public function store(AccountFormRequest $request, AccountRepositoryInterface $repository)
|
||||
{
|
||||
$accountData = [
|
||||
'name' => $request->input('name'),
|
||||
'accountType' => Config::get('firefly.accountTypeByIdentifier.' . $request->input('what')),
|
||||
'name' => $request->input('name') . rand(1,1000),
|
||||
'accountType' => $request->input('what'),
|
||||
'active' => true,
|
||||
'user' => Auth::user()->id,
|
||||
'accountRole' => $request->input('accountRole'),
|
||||
|
Reference in New Issue
Block a user