•  basil2002
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
Hello! Please tell me where I need to fix to the registration of a new user is not required to enter punctuation or other characters other than letters, and was not required to enter long passwords?
Both can be set in the web.config for the membership provider you are using

minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="5"


<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
        <clear />
        <!-- YAF's ASP.NET Membership Provider is designed to work a bit better with YAF.NET options, but is by no means required.
             But, you will not be able to switch providers after installing your forum. -->
        <add name="YafMembershipProvider" applicationName="YetAnotherForum" connectionStringName="yafnet" requiresUniqueEmail="true" useSalt="true" type="YAF.Providers.Membership.YafMembershipProvider"  minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="5" />
        <!-- Set as default if you want to use use the built-in ASP.NET membership provider. Password Type of "Encrypted" requires a machine key. -->
        <add name="AspNetSqlMembershipProvider" applicationName="YetAnotherForum" connectionStringName="yafnet" enablePasswordReset="false" enablePasswordRetrieval="true" maxInvalidPasswordAttempts="5" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="5" passwordAttemptWindow="15" passwordFormat="Encrypted" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" type="System.Web.Security.SqlMembershipProvider" />

  •  basil2002
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
Thank you, I have changed in only one place and did not work, so had to ask. Today I will try to correct everywhere.
Don't exceed the characters limit of 36 words for password.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved