locked
How to change the password policy? RRS feed

  • Question

  • User-1575095267 posted

    I notice that by default TT use a complex password policy. How can I change that behavior?

    Thursday, December 1, 2005 8:52 PM

All replies

  • User870110914 posted
    I added the following to the <system.web> section of the web.config file.

    <membership>
                <providers>
                    <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"
                                  minRequiredPasswordLength="6"
                                  minRequiredNonalphanumericCharacters="0"
                                  passwordFormat="Hashed"
                                  maxInvalidPasswordAttempts="5"
                                  passwordAttemptWindow="10"
                                  passwordStrengthRegularExpression="" />
                  </providers>
    Friday, December 2, 2005 2:02 AM