日期:2014-05-18  浏览次数:20464 次

CreateUserWizard使用的问题
我已经这样设置了membership
  <membership>
            <providers>
                <add   name= "MyMembershipProvider "   type= "System.Web.Security.SqlMembershipProvider "   connectionStringName= "myConnectionString "   minRequiredPasswordLength= "6 "   minRequiredNonalphanumericCharacters= "0 "/>
            </providers>
        </membership>

但还是要验证密码
密码最短长度为   7,其中必须包含以下非字母数字字符:   1。
到底怎么搞啊

------解决方案--------------------
enablePasswordRetrieval= "false "
enablePasswordReset= "true "
requiresQuestionAndAnswer= "false "
applicationName= "/ "
requiresUniqueEmail= "false "

passwordFormat= "Hashed "
maxInvalidPasswordAttempts= "5 "
minRequiredPasswordLength= "6 "
minRequiredNonalphanumericCharacters= "0 "
passwordAttemptWindow= "10 "
passwordStrengthRegularExpression= " "