mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-01 07:45:38 +02:00
Allow letters with diacritic marks in Group name - Closes #241
This commit is contained in:
parent
9efb54adf4
commit
a8eea1037a
@ -28,7 +28,7 @@ class GroupStoreRequest extends FormRequest
|
||||
return [
|
||||
'name' => [
|
||||
'required',
|
||||
'regex:/^[a-zA-Z0-9\s\-_]+$/',
|
||||
'regex:/^[A-zÀ-ú0-9\s\-_]+$/',
|
||||
'max:32',
|
||||
Rule::unique('groups')->where(fn ($query) => $query->where('user_id', $this->user()->id)),
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user