Fix firstname/lastname update see BT#10808

1.10.x
jmontoya 10 years ago
parent f2816cdd0e
commit e5d4edd940
  1. 5
      plugin/createdrupaluser/src/HookCreateDrupalUser.php

@ -43,9 +43,10 @@ class HookCreateDrupalUser extends HookObserver implements HookCreateUserObserve
'status' => 1, 'status' => 1,
'init' => $userInfo['email'] 'init' => $userInfo['email']
); );
$extraFields = array( $extraFields = array(
'firstname' => $userInfo['firstname'], 'first_name' => $userInfo['firstname'],
'lastname' => $userInfo['lastname'] 'last_name' => $userInfo['lastname']
); );
$options = array( $options = array(

Loading…
Cancel
Save