1
0
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:
Néstor Sabater 2019-07-03 13:05:49 +02:00 committed by GitHub
parent a134a2815d
commit 639b6b3f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.