diff --git a/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php b/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php index b6ee61ff..f8eeead0 100644 --- a/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php +++ b/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php @@ -122,6 +122,9 @@ public function authenticate(AuthEvent $authEvent) ->setProviderId($userProfile->identifier) ->setProvider($provider); $this->getMapper()->insert($localUserProvider); + + // Trigger register.post event + $this->getEventManager()->trigger('register.post', $this, array('user' => $localUser, 'userProvider' => $localUserProvider)); } $zfcUserOptions = $this->getZfcUserOptions();