Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-39322 users: report correct auth method for site administrators

  • Loading branch information...
commit 628e9b20115e49a941b09d85d30cc064b87ed3f1 1 parent cf5a329
@mackensen mackensen authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  admin/tool/uploaduser/index.php
View
3  admin/tool/uploaduser/index.php
@@ -497,6 +497,7 @@
$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 @@
//load existing profile data
profile_load_data($existinguser);
- $upt->track('auth', $existinguser->auth, 'normal', false);
-
$doupdate = false;
$dologout = false;
Please sign in to comment.
Something went wrong with that request. Please try again.