diff --git a/app/Http/Requests/Auth/UpdateUserRequest.php b/app/Http/Requests/Auth/UpdateUserRequest.php index 4881829..d212f7b 100644 --- a/app/Http/Requests/Auth/UpdateUserRequest.php +++ b/app/Http/Requests/Auth/UpdateUserRequest.php @@ -23,6 +23,7 @@ public function rules(): array { return [ 'email' => ['sometimes', 'string', 'email', 'max:255', 'unique:users'], + 'password' => ['sometimes', 'nullable', 'string'], 'newPassword' => ['sometimes', 'nullable', 'string', 'min:8', 'confirmed'], ]; }