Merge branch 'MDL-59053-downcase-username_LATEST' of git://github.com/spaceraccoon/moodle

This commit is contained in:
David Monllao 2017-06-27 17:52:25 +02:00
commit 6ac5f70c01

View File

@ -39,7 +39,7 @@ class login_signup_form extends moodleform implements renderable, templatable {
$mform->addElement('header', 'createuserandpass', get_string('createuserandpass'), '');
$mform->addElement('text', 'username', get_string('username'), 'maxlength="100" size="12"');
$mform->addElement('text', 'username', get_string('username'), 'maxlength="100" size="12" autocapitalize="none"');
$mform->setType('username', PARAM_RAW);
$mform->addRule('username', get_string('missingusername'), 'required', null, 'client');