mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-23 00:33:18 +01: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()
|
||||
{
|
||||
return [
|
||||
'ids' => 'required|string|regex:/^\d+([,][\d]+)*$/i',
|
||||
'ids' => 'required|string|regex:/^\d+(,{1}\d+)*$/i',
|
||||
];
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user