Among the items at the top of the list of software security failures is the choice of insecure passwords by users. In this recipe, we will see how to enforce minimum password requirements through both built-in and custom password validators, so that users are guided toward setting up more secure authentication.
Implementing password validation
Getting ready
Open the project's settings.py file and locate the AUTH_PASSWORD_VALIDATORS setting. Also, create a new auth_extra app containing a password_validation.py file.
How to do it...
Follow these steps to set up stronger...