]> git.mjollnir.org Git - moodle.git/commitdiff
Fix to ensure default auth method is copied to new user records
authordanstowell <danstowell>
Wed, 7 Jun 2006 10:44:12 +0000 (10:44 +0000)
committerdanstowell <danstowell>
Wed, 7 Jun 2006 10:44:12 +0000 (10:44 +0000)
enrol/imsenterprise/enrol.php

index 1d9e3d502b784c14b23416d8126de0b22b660b4e..c0c45828d06cc8c31e9887430f6ec77411f96179 100644 (file)
@@ -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))){