We're using PasswordGenerator.CheckPasswordComplexity to check a password's strength. There's a typo in the error message which prevents us from using the value as-is:
Using dsExtranet = Database.CreateDataSet(CommandBuilder.Create("SELECT [AccessUser].[AccessUserUserName], [AccessUser].[AccessUserPassword], [AccessUser].[AccessUserID] FROM [AccessUser] WHERE ( [AccessUser].[AccessUserID] = {0} )", userId), cnAccess)
' if the password must have a minimum length
If Converter.ToInt32(SystemConfiguration.Instance.GetValue(settingsPath + "MinimumOfCharacters")) > 0 Then
If Len(password) < Converter.ToInt32(SystemConfiguration.Instance.GetValue(settingsPath + "MinimumOfCharacters")) Then
errorMessage = "Minimum number of characers for password is " & Converter.ToInt32(SystemConfiguration.Instance.GetValue(settingsPath + "MinimumOfCharacters"))
passwordErrorCode = 1
isPaswordGood = False
End If
End If
Can that be changed to characters? The same typo exists in LoginHandler but it looks like that predates 9.4
Thanks!
Imar