Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-31823 - Remote hosts users created via mnet enrolments marked as …

…confirmed
  • Loading branch information...
commit 92bf1836d0013d8568bfeabe7bb07a406903c30f 1 parent a6dfc10
David Monllaó authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  enrol/mnet/enrol.php
1  enrol/mnet/enrol.php
@@ -146,6 +146,7 @@ public function enrol_user(array $userdata, $courseid) {
146 146
             $user = mnet_strip_user((object)$userdata, mnet_fields_to_import($client));
147 147
             $user->mnethostid = $client->id;
148 148
             $user->auth = 'mnet';
  149
+            $user->confirmed = 1;
149 150
             try {
150 151
                 $user->id = $DB->insert_record('user', $user);
151 152
             } catch (Exception $e) {

0 notes on commit 92bf183

Please sign in to comment.
Something went wrong with that request. Please try again.