Answer the question
In order to leave comments, you need to log in
Non-alphanumeric character in web.config. How to win?
I use provider membership. There is such a thing as non-alphanumeric characters in a password. I want to disable them. I set minRequiredNonalphanumericCharacters="0" in web.config , but it doesn't help, membership still doesn't accept a password without such a character. How to remove this option?
Content of web.config :
<membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider"
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresUniqueEmail="true"
requiresQuestionAndAnswer="false"
minRequiredNonalphanumericCharacters="0"
applicationName="/" />
</providers>
</membership>
Answer the question
In order to leave comments, you need to log in
Try this
<providers>
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
. Will it work?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question