Hi,

I'm using the wizard login control in ASP.NET 2.0. The default password is 7
characters minimum and an minimum 1 non-alphanumeric character. Why can I
change these setting?

King

Re: Changing the password setting by Eliyahu

Eliyahu
Thu Mar 13 08:41:50 CDT 2008

You can. Do this in web.config:

<membership>
<providers>
<!--
This removes the default membership provider as defined
in the machine.config and
adds the same one but this time with more relaxed
password format and questions settings.
-->
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider,
System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
</providers>
</membership>




--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"King Coffee" <kcoffee@hotmail.com> wrote in message
news:E774FAED-7CC1-430B-8BDB-2847D10ECBF0@microsoft.com...
> Hi,
>
> I'm using the wizard login control in ASP.NET 2.0. The default password is
> 7 characters minimum and an minimum 1 non-alphanumeric character. Why can
> I change these setting?
>
> King
>
>