mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Merge branch 'MDL-64383-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
0307a98545
@ -99,6 +99,7 @@ class user_editadvanced_form extends moodleform {
|
||||
|
||||
$purpose = user_edit_map_field_purpose($userid, 'username');
|
||||
$mform->addElement('text', 'username', get_string('username'), 'size="20"' . $purpose);
|
||||
$mform->addRule('username', get_string('required'), 'required', null, 'client');
|
||||
$mform->addHelpButton('username', 'username', 'auth');
|
||||
$mform->setType('username', PARAM_RAW);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user