Re: How to Set minRequiredNonalphanumericCharacters="0"?



Hi,

according to the source code - you can set minReqNonAlphaChars to 0 - it defaults to 1 if the value is missing.

It is maybe the regex - wouldn't setting minRequiredPasswordLength to 6 also do it?

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

I am trying to set up an ASP.NET 2.0 application using the Membership
API with SQL Server 2005 to not require non-alphanumeric characters in
the password.  I have set minRequiredNonalphanumericCharacters="0" and
the passwordStrengthRegularExpression="\w{6-12}" in the web.config.
The password I enter is "w99hthr" and it fails.  When I remove these
two attributes and use the password, "w!99hthr" it works.  My users
will strongly resist using passwords requiring non-alphanumeric
characters.  Many of them are naive.



.