From 552a02c02d1321e3e8981e5da834a6ae7b304ab1 Mon Sep 17 00:00:00 2001
From: I Kadek Yuda Budipratama Giri <13516115@std.stei.itb.ac.id>
Date: Wed, 6 Feb 2019 21:16:26 +0700
Subject: [PATCH] Add feature to add name after linked account to Linkedin

---
 app/SocialAccountService.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/SocialAccountService.php b/app/SocialAccountService.php
index 5785d91..9d45cf8 100644
--- a/app/SocialAccountService.php
+++ b/app/SocialAccountService.php
@@ -52,6 +52,7 @@ class SocialAccountService
                     break;
                 case 'linkedin':
                     $member->linkedin_email = $providerUser->getEmail();
+                    $member->name = $providerUser->getName();
                     break;
                 default:
                     break;
-- 
GitLab