Base solution for your next web application
Open Closed

Reduce the password length to 4. #8228


User avatar
0
huntethan89 created

Hi,

How can i set the minimum length of password to 4. Currently i set the MinPlainPasswordLength to 4 in User class which works on client side but when the request is going to server it is giving error that password should be 6 characters minimum.

The error is coming from ChangePasswordAsync method. Please suggest to reduce minimum password length.

Thanks


4 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Set AbpZeroSettingNames.UserManagement.PasswordComplexity.RequiredLength using ISettingManager.

  • User Avatar
    0
    huntethan89 created

    I tried setting this. but it doesn't work.

  • User Avatar
    0
    aaron created
    Support Team

    Can you retrieve and check the value?

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.