F
Filament3mo ago
James

Edit profile - password not saving

In v4, I have a custom Edit Profile page, which just adds first_name, last_name and username fields to the default form, extending Filament\Auth\Pages\EditProfile. Everything works great, including respecting the global Laravel password validation rules defined in the boot method of the AppServiceProvider. However, when saving the form, the new password isn't saved, and I still get a success message. Validation is done correctly. Any pointers?
No description
Solution:
Did you check if the password property is in the $fillable property of your User model ?
Jump to solution
2 Replies
Solution
Yohan
Yohan3mo ago
Did you check if the password property is in the $fillable property of your User model ?
James
JamesOP2mo ago
That was it! I am an idiot

Did you find this page helpful?