diff --git a/lms/templates/student_account/form_field.underscore b/lms/templates/student_account/form_field.underscore index 1af84c780a..b30daba18d 100644 --- a/lms/templates/student_account/form_field.underscore +++ b/lms/templates/student_account/form_field.underscore @@ -98,7 +98,7 @@ aria-describedby="<%- form %>-<%- name %>-desc <%- form %>-<%- name %>-validation-error" <% } %> <% if ( restrictions.min_length ) { %> minlength="<%- restrictions.min_length %>"<% } %> - <% if ( restrictions.max_length ) { %> maxlength="<%- restrictions.max_length %>"<% } %> + <% if ( restrictions.max_length && type !== 'password' ) { %> maxlength="<%- restrictions.max_length %>"<% } %> <% if ( restrictions.readonly ) { %> readonly <% } %> <% if ( required ) { %> required<% } %> <% if ( typeof errorMessages !== 'undefined' ) {