Skip to content

Commit

Permalink
Added parent::initialize() in ShieldOAuthModel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoMoricca authored Mar 15, 2023
1 parent 2dde4bb commit 3d17546
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Models/ShieldOAuthModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class ShieldOAuthModel extends UserModel
{
protected function initialize(): void
{
parent::initialize();
// Merge properties with parent
$this->allowedFields = array_merge($this->allowedFields, [
config('ShieldOAuthConfig')->usersColumnsName['first_name'],
Expand Down

0 comments on commit 3d17546

Please sign in to comment.