mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 15:39:50 +00:00
Fix limits
This commit is contained in:
@@ -43,9 +43,9 @@ class NewUserFormRequest extends FormRequest
|
||||
// fixed
|
||||
return [
|
||||
'bank_name' => 'required|between:1,200',
|
||||
'bank_balance' => 'required|numeric|max:1000000000',
|
||||
'savings_balance' => 'numeric|max:1000000000',
|
||||
'credit_card_limit' => 'numeric|max:1000000000',
|
||||
'bank_balance' => 'required|numeric|max:1000000000|min:-1000000000',
|
||||
'savings_balance' => 'numeric|max:1000000000|min:-1000000000',
|
||||
'credit_card_limit' => 'numeric|max:1000000000|min:-1000000000',
|
||||
'amount_currency_id_bank_balance' => 'exists:transaction_currencies,id',
|
||||
'amount_currency_id_savings_balance' => 'exists:transaction_currencies,id',
|
||||
'amount_currency_id_credit_card_limit' => 'exists:transaction_currencies,id',
|
||||
|
||||
Reference in New Issue
Block a user