YAFLogo

tamty
  • tamty
  • 56% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Now the default is:

New Password length minimum: 6.

Non-alphanumeric characters required: 1.

how can i change it .thanks

Noel Tam

Sponsor
logan
  • logan
  • 100% (Exalted)
  • YAF Leader
15 years ago
Check the membership section of your web.config
test
mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
Add attributes to your webconfig's membership section to override the defaults. I like to have 0 nonalphanumeric characters required, like this:

<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
			<providers>
				<clear/>
				<add connectionStringName="yafnet" minRequiredNonalphanumericCharacters="0" applicationName="YetAnotherForum" name="YafMembershipProvider" requiresUniqueEmail="true" useSalt="true" type="YAF.Providers.Membership.YafMembershipProvider"/>
			</providers>
		</membership>

UserPostedImage 

www.bunkerhollow.com  | www.careercomputing.com 

When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )

tamty
  • tamty
  • 56% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
got it.

thanks

Chetan Bavarva
7 years ago
You need to change in web.config


<membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="15">
<providers>
<clear /> 
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" 
requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Hashed" 
applicationName="DotNetNuke" description="SQL Server database" />
</providers>
</membership>


Chetan Patel

Custom software company India 

iFour Technolab Pvt. Ltd