diff --git a/plugin/createdrupaluser/src/HookCreateDrupalUser.php b/plugin/createdrupaluser/src/HookCreateDrupalUser.php index 84c247b13a..e46cec3de9 100644 --- a/plugin/createdrupaluser/src/HookCreateDrupalUser.php +++ b/plugin/createdrupaluser/src/HookCreateDrupalUser.php @@ -43,9 +43,10 @@ class HookCreateDrupalUser extends HookObserver implements HookCreateUserObserve 'status' => 1, 'init' => $userInfo['email'] ); + $extraFields = array( - 'firstname' => $userInfo['firstname'], - 'lastname' => $userInfo['lastname'] + 'first_name' => $userInfo['firstname'], + 'last_name' => $userInfo['lastname'] ); $options = array(