mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-04-11 19:18:26 +02:00
Fix comma-separated regex rule for ids
This commit is contained in:
parent
c927f3f9ab
commit
d329b82a30
@ -24,7 +24,7 @@ public function authorize()
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'ids' => 'required|string|regex:/^\d+([,][\d]+)*$/i',
|
'ids' => 'required|string|regex:/^\d+(,{1}\d+)*$/i',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user