Permalink
Browse files

Fix to ensure default auth method is copied to new user records

  • Loading branch information...
danstowell
danstowell committed Jun 7, 2006
1 parent b134f6a commit 67e3f5b540f40f461552046746e3ff47b875f6fe
Showing with 1 addition and 0 deletions.
  1. +1 −0 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))){

0 comments on commit 67e3f5b

Please sign in to comment.