I need to disable customer registration.
Default, if a customer selects 'registration' in the top menu, a form appears with fields for first name, last name, email and password.
I added some fields to this form like company and telephone number, deleted the password fields and changed some texts to let the customer know he is applying for an account and will receive passwords after approval. So a mail has to be generated to inform us.
But when a customer fills out the form, he gets the message "password can not be empty" What is the best and easiest way to solve this?