--- moodle/group/group_form.php 2015-08-13 12:16:44.000000000 +0200 +++ www/moodle/group/group_form.php 2015-08-26 11:36:00.416222215 +0200 @@ -46,6 +46,10 @@ $mform =& $this->_form; $editoroptions = $this->_customdata['editoroptions']; + // HACK to prevent browsers from automatically inserting the user's password into the wrong fields. + $element = $mform->addElement('hidden'); + $element->setType('password'); + $mform->addElement('header', 'general', get_string('general', 'form')); $mform->addElement('text','name', get_string('groupname', 'group'),'maxlength="254" size="50"');