From: danstowell Date: Wed, 7 Jun 2006 10:44:12 +0000 (+0000) Subject: Fix to ensure default auth method is copied to new user records X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=67e3f5b540f40f461552046746e3ff47b875f6fe;p=moodle.git Fix to ensure default auth method is copied to new user records --- diff --git a/enrol/imsenterprise/enrol.php b/enrol/imsenterprise/enrol.php index 1d9e3d502b..c0c45828d0 100644 --- a/enrol/imsenterprise/enrol.php +++ b/enrol/imsenterprise/enrol.php @@ -588,6 +588,7 @@ function process_person_tag($tagcontents){ // If they don't exist and they have a defined username, and $CFG->enrol_createnewusers == true, we create them. $person->lang = $CFG->lang; + $person->auth = $CFG->auth; $person->confirmed = 1; $person->timemodified = time(); if($id = insert_record('user', addslashes_object($person))){