MDL-66071 user: username is required with non-internal auth method
This commit is contained in:
@@ -99,7 +99,6 @@ 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user