From 9888831db972c16fab1a73bb714d7d50009e7629 Mon Sep 17 00:00:00 2001 From: Zakaria AKTOUF <101515566+zackAJ@users.noreply.github.com> Date: Wed, 2 Oct 2024 19:23:10 +0100 Subject: [PATCH] fixing issue where social user saving fails --- src/Models/SocialProviderUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/SocialProviderUser.php b/src/Models/SocialProviderUser.php index 38e27a8..1e16889 100644 --- a/src/Models/SocialProviderUser.php +++ b/src/Models/SocialProviderUser.php @@ -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;