Permalink
Browse files

Merge branch 'MDL-31823_21' of git://github.com/dmonllao/moodle into …

…MOODLE_21_STABLE
  • Loading branch information...
2 parents 7d4c5ac + 92bf183 commit 8ad117cca866e4d3385ddaa211f12cbb96098207 Sam Hemelryk committed Jun 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 enrol/mnet/enrol.php
View
@@ -146,6 +146,7 @@ public function enrol_user(array $userdata, $courseid) {
$user = mnet_strip_user((object)$userdata, mnet_fields_to_import($client));
$user->mnethostid = $client->id;
$user->auth = 'mnet';
+ $user->confirmed = 1;
try {
$user->id = $DB->insert_record('user', $user);
} catch (Exception $e) {

0 comments on commit 8ad117c

Please sign in to comment.