mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-39322 users: report correct auth method for site administrators
This commit is contained in:
parent
cf5a3296c4
commit
628e9b2011
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user