Fix regex validation rule for TwoFAccounts batch delete

This commit is contained in:
Bubka 2021-10-03 13:56:33 +02:00
parent 361ee38cf2
commit b79570bcd9

View File

@ -24,7 +24,7 @@ public function authorize()
public function rules() public function rules()
{ {
return [ return [
'ids' => 'required|string|regex:/^\d([\d,])+[\d]+$/i', 'ids' => 'required|string|regex:/^\d+([,][\d]+)*$/i',
]; ];
} }
} }