diff --git a/admin/tool/uploaduser/index.php b/admin/tool/uploaduser/index.php index dd1baecbfa6..30a0dbf15e9 100644 --- a/admin/tool/uploaduser/index.php +++ b/admin/tool/uploaduser/index.php @@ -497,6 +497,7 @@ if ($formdata = $mform2->is_cancelled()) { $upt->track('username', html_writer::link(new moodle_url('/user/profile.php', array('id'=>$existinguser->id)), s($existinguser->username)), 'normal', false); $upt->track('suspended', $stryesnooptions[$existinguser->suspended] , 'normal', false); + $upt->track('auth', $existinguser->auth, 'normal', false); if (is_siteadmin($user->id)) { $upt->track('status', $strusernotupdatedadmin, 'error'); @@ -510,8 +511,6 @@ if ($formdata = $mform2->is_cancelled()) { //load existing profile data profile_load_data($existinguser); - $upt->track('auth', $existinguser->auth, 'normal', false); - $doupdate = false; $dologout = false;