runlinenl / nova-profile-tool

This package adds a tool for Laravel nova to let a user manage their profile data
MIT License
37 stars 40 forks source link

Required fillable properties #44

Open clementmas opened 2 years ago

clementmas commented 2 years ago

https://github.com/runlinenl/nova-profile-tool/blob/f0928b1e538d828d233945b1ccc7d6b2d83b5308/src/Http/Controllers/ToolController.php#L61

Is it expected behavior to require having an unguarded User model or adding name, email and most dangerously password to the fillable attributes?

If we don't do this, the form doesn't work as expected. It says "Your profile has been updated!" but it doesn't update the fields.