Setting Minimum Length for Username and Password - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

This information describes how to change the minimum length of the Share user name and password.

  1. Open the <web-extension>/share-config-custom.xml file.
  2. Search for the text “username”. You see the following configuration:
    <configevaluator="string-compare"condition="Users">
      <users>
         <!-- minimum length for username and password -->
         <username-min-length>2</username-min-length>
         <password-min-length>3</password-min-length>
      </users>
    </config>                                 
    
  3. Change the value of <username-min-length> and <password-min-length>.