Skip to content

Commit

Permalink
Merge pull request #136 from thedevdojo/zackAJmain
Browse files Browse the repository at this point in the history
fix issue where social user saving fails after oauth callback
  • Loading branch information
tnylea authored Oct 25, 2024
2 parents 2a78e2e + 9ef1248 commit dede5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/SocialProviderUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SocialProviderUser extends Model
protected $table = 'social_provider_user';

// Prevents the "returning id" default behaviour
protected $primaryKey = ['user_id', 'provider_slug'];
protected $primaryKey = 'user_id';

// Prevents the auto-increment default behaviour
public $incrementing = false;
Expand Down

0 comments on commit dede5df

Please sign in to comment.