diff --git a/custompages/first_login-dist.php b/custompages/first_login-dist.php index 6042238272..e5ba3f5535 100644 --- a/custompages/first_login-dist.php +++ b/custompages/first_login-dist.php @@ -59,6 +59,7 @@ if ($_GET['invalid'] == 1) { if ($_GET['invalid'] == 2) { $error_message = get_lang('PassTwo'); } +$www = api_get_path('WEB_PATH'); /** * HTML output */ @@ -75,7 +76,7 @@ if ($_GET['invalid'] == 2) { - + + + + + - + diff --git a/custompages/registration-feedback-dist.php b/custompages/registration-feedback-dist.php index dfd7a1a310..4864e20309 100644 --- a/custompages/registration-feedback-dist.php +++ b/custompages/registration-feedback-dist.php @@ -8,6 +8,8 @@ * HTML output */ require_once('language.php'); +$rootWeb = api_get_path('WEB_PATH'); + ?> @@ -23,7 +25,7 @@ require_once('language.php'); - + 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(