Permalink
Browse files

Merge branch '6.2' into stable

  • Loading branch information...
2 parents 6b8ff28 + b5b812d commit af7553712480d20b34c0f65b5530bac68d14161d @jstanden jstanden committed Dec 18, 2012
@@ -869,6 +869,7 @@ private function _handleImportWorker($xml) {
DAO_Worker::FIRST_NAME => $sFirstName,
DAO_Worker::LAST_NAME => $sLastName,
DAO_Worker::IS_SUPERUSER => intval($isSuperuser),
+ DAO_Worker::AUTH_EXTENSION_ID => 'login.password',
);
$worker_id = DAO_Worker::create($fields);
@@ -290,6 +290,8 @@ function postCreate() {
);
$this->_handleRequiredFields($reqfields, $fields);
+ $fields[DAO_Worker::AUTH_EXTENSION_ID] = 'login.password';
+
// Create
if(false != ($id = DAO_Worker::create($fields))) {
$email = $fields[DAO_Worker::EMAIL];
View
@@ -755,6 +755,7 @@
DAO_Worker::LAST_NAME => 'User',
DAO_Worker::TITLE => 'Administrator',
DAO_Worker::IS_SUPERUSER => 1,
+ DAO_Worker::AUTH_EXTENSION_ID => 'login.password',
);
$worker_id = DAO_Worker::create($fields);

0 comments on commit af75537

Please sign in to comment.