mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-9180 Change password screen doesn't show the username like it should; merged from MOODLE_18_STABLE
This commit is contained in:
parent
90a32fd5e6
commit
fdf562fb3c
@ -12,7 +12,7 @@ class login_change_password_form extends moodleform {
|
||||
$mform->addElement('header', '', get_string('changepassword'), '');
|
||||
|
||||
// visible elements
|
||||
$mform->addElement('static', 'username', get_string('username'));
|
||||
$mform->addElement('static', 'username', get_string('username'), $USER->username);
|
||||
|
||||
$mform->addElement('password', 'password', get_string('oldpassword'));
|
||||
$mform->addRule('password', get_string('required'), 'required', null, 'client');
|
||||
|
Loading…
x
Reference in New Issue
Block a user