mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
7e36bb7197
Alter self enrolment creation form to enforce max field lengths. Limit "Custom instance name" (name) form field to 255 characters via maxlength. Limit "Enrolment key" (password) form field to 50 characters via maxlength. Fix for when the form is submitted causing a database write error to be thrown as corresponding field "name" in the table mdl_enrol is set to varchar(255) and database field "password" is varying(50).