DeployEcommerce_AdminPasswordRestrictions module This extension adds a configuration option to restrict the use of certain length passwords in the Magento 2 backend. You can set a minimum length of password by going to: Stores > Configuration > Advanced > Admin > Minimum Length of Admin Password.