feat: name regex

This commit is contained in:
2026-05-21 16:10:22 +02:00
parent 87b614a094
commit 61cd857783
3 changed files with 36 additions and 2 deletions
-1
View File
@@ -19,7 +19,6 @@ class UpdateUserRequest extends FormRequest
public function rules(): array
{
return [
'name' => ['sometimes', 'string', 'max:255'],
'bio' => ['sometimes', 'nullable', 'string'],
'height' => ['sometimes', 'nullable', 'integer'],
'avatar' => ['sometimes', 'nullable', 'image', 'max:2048'],