diff --git a/app/Http/Requests/AccountFormRequest.php b/app/Http/Requests/AccountFormRequest.php index f5c03fd7d7..370415f26f 100644 --- a/app/Http/Requests/AccountFormRequest.php +++ b/app/Http/Requests/AccountFormRequest.php @@ -32,11 +32,11 @@ class AccountFormRequest extends Request $types = join(',', array_keys(Config::get('firefly.subTitlesByIdentifier'))); $ccPaymentTypes = join(',', array_keys(Config::get('firefly.ccTypes'))); - $nameRule = 'required|between:1,100|uniqueAccountForUser'; + $nameRule = 'required|min:1|uniqueAccountForUser'; $idRule = ''; if (Account::find(Input::get('id'))) { $idRule = 'belongsToUser:accounts'; - $nameRule = 'required|between:1,100|uniqueAccountForUser:' . Input::get('id'); + $nameRule = 'required|min:1|uniqueAccountForUser:' . Input::get('id'); } return [