1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 15:16:30 +02: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:
Néstor Sabater
2019-07-03 13:05:49 +02:00
committed by GitHub
parent a134a2815d
commit 639b6b3f34

View File

@@ -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.