mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Added social login provider callback data to event
Event user_xup_signup was not giving info that may come from the social provider, for example the Birth date or gender, I just added a way to access all provider callback info from within the signup event.
This commit is contained in:
parent
a134a2815d
commit
639b6b3f34
@ -1353,6 +1353,8 @@ class e_user_provider
|
||||
//$user->set('provider', $this->getProvider());
|
||||
$userdata = $user->getData();
|
||||
$userdata['provider'] = $this->getProvider();
|
||||
|
||||
$userdata['callback_data'] = $profile;
|
||||
|
||||
// e107::getEvent()->trigger('userveri', $userdata); // Trigger New verified user.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user