mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-03-30 18:26:14 +02:00
Fix regex validation rule for TwoFAccounts batch delete
This commit is contained in:
parent
361ee38cf2
commit
b79570bcd9
@ -24,7 +24,7 @@ public function authorize()
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'ids' => 'required|string|regex:/^\d([\d,])+[\d]+$/i',
|
||||
'ids' => 'required|string|regex:/^\d+([,][\d]+)*$/i',
|
||||
];
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user