diff --git a/app/Models/User.php b/app/Models/User.php index da3fbf5f6f3e..51f507fa4fef 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -29,7 +29,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon * * @var array */ - protected $fillable = ['name', 'email', 'password']; + protected $fillable = ['first_name', 'last_name', 'email', 'password']; /** * The attributes excluded from the model's JSON form. @@ -226,4 +226,4 @@ User::updating(function ($user) { User::updated(function ($user) { User::onUpdatedUser($user); -}); \ No newline at end of file +});