Skip to content

Commit

Permalink
- Added register.pre event trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
diogodomanski committed May 9, 2015
1 parent eb26971 commit 99cba63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function authenticate(AuthEvent $authEvent)

// Trigger register.pre event
$this->getEventManager()->trigger('register.pre', $this, array('user' => $localUser, 'userProvider' => $localUserProvider, 'userProfile' => $userProfile));

$this->getMapper()->insert($localUserProvider);

// Trigger register.post event
Expand Down

0 comments on commit 99cba63

Please sign in to comment.