How to auto generate a password for new users via the registration web part
Knowledge Base Article
This article will explain how to auto generate and email a password for new users according to your site’s password policy, using the Registration Form web part. Since we are going to leverage the existing functionality of the Registration Form web part, it is recommended to create a copy of this web part and register it as a custom web part. Web parts can be registered in Site Manager -> Development -> Web parts -> New web part.