Browse files

Merge branch 'MDL-32204-mnet-auth_22' of git://github.com/mudrd8mz/mo…

…odle into MOODLE_22_STABLE
  • Loading branch information...
2 parents 319887f + f8e01f9 commit 3e11be405b25ebef9fab1413634a5f76dc21f902 Sam Hemelryk committed May 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 enrol/mnet/enrol.php
View
1 enrol/mnet/enrol.php
@@ -145,6 +145,7 @@ public function enrol_user(array $userdata, $courseid) {
// users {@link http://tracker.moodle.org/browse/MDL-21327}
$user = mnet_strip_user((object)$userdata, mnet_fields_to_import($client));
$user->mnethostid = $client->id;
+ $user->auth = 'mnet';
try {
$user->id = $DB->insert_record('user', $user);
} catch (Exception $e) {

0 comments on commit 3e11be4

Please sign in to comment.