Skip to content

Commit

Permalink
MDL-66071 user: username is required with non-internal auth method
Browse files Browse the repository at this point in the history
  • Loading branch information
aspark21 committed Aug 6, 2019
1 parent 414eca8 commit fa3f862
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion user/editadvanced_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public function definition() {

$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);

Expand Down

0 comments on commit fa3f862

Please sign in to comment.