some logical error in file membershipmodels.cs

Aug 1, 2010 at 2:04 AM
Edited Aug 1, 2010 at 2:39 AM

a method in file membershipmodels.cs may be have some logical error! please check the code!

public override bool IsValid(object value)
        {
            string valueAsString = value as string;
            if (String.IsNullOrEmpty(valueAsString))
            {
                return true;
            }

            return (valueAsString.Length >= _minCharacters);
        }

Thanks!