mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-04-10 18:48:17 +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()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'ids' => 'required|string|regex:/^\d([\d,])+[\d]+$/i',
|
'ids' => 'required|string|regex:/^\d+([,][\d]+)*$/i',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user