Allow group_id attribute in AuthClient attributes

This commit is contained in:
Lucas Bartholemy 2016-05-21 03:34:47 +02:00
parent e165f73f30
commit 6d755e9023

View File

@ -159,6 +159,7 @@ class AuthClientHelpers
unset($attributes['id']);
$registration->getUser()->setAttributes($attributes, false);
$registration->getProfile()->setAttributes($attributes, false);
$registration->getGroupUser()->setAttributes($attributes, false);
if ($registration->validate() && $registration->register($authClient)) {
return $registration->getUser();