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

This commit is contained in:
David Monllao
2017-06-28 18:24:45 +02:00
+1 -1
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');