|
auth()->user()->update($fields); |
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.
nova-profile-tool/src/Http/Controllers/ToolController.php
Line 61 in f0928b1
Is it expected behavior to require having an unguarded User model or adding
name,emailand most dangerouslypasswordto 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.