From 4ec052a2acf1b3206d6c92f23fcd5cc3b8e5a485 Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 9 Nov 2022 13:58:39 +0100 Subject: [PATCH] chg: [soacialauth] listener updated to not save the user - it wasn't making any changes anyway, but triggering a slow process --- src/Event/SocialAuthListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Event/SocialAuthListener.php b/src/Event/SocialAuthListener.php index 0daf11d..c661f4c 100644 --- a/src/Event/SocialAuthListener.php +++ b/src/Event/SocialAuthListener.php @@ -31,7 +31,7 @@ class SocialAuthListener implements EventListenerInterface // You can access the profile using $user->social_profile - $this->getTableLocator()->get('Users')->saveOrFail($user); + // $this->getTableLocator()->get('Users')->saveOrFail($user); return $user; }