我的DNN版本是07.02.00,当我想更改/重置包含符号"%"的密码时我收到这个错误:
Failed to update password - either the username/token combination is invalid (or the token has expired), or the password is not valid. Passwords must be at least 7 characters in length and contain at least 0 non-alphanumeric characters.
我试图通过使用该正则表达式来解决这个问题(没有工作):
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" **passwordStrengthRegularExpression="^.*(?=.{6,}).*$"** connectionStringName="SiteSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Hashed" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />
有谁知道这是一个错误,还是我的解决方案错了?
答案 0 :(得分:0)
这通常发生在您尝试更改密码时,如果密码与旧密码类似,并且不会与符号&#34;%&#34;有任何关系。