TECLAHOST - FORUM ABOUT HOSTING, HOUSING, VIRTUAL SERVER, DEDICATED SERVER, E-MAIL
yetanotherforum.net - Change password requirements  
Home Help Search Login Register
 

Username  
Password
Pages: [1]   Go Down
  Print  
Author Topic: yetanotherforum.net - Change password requirements  (Read 813 times)
kilop
Membro Sénior
****
Offline Offline

Posts: 114


View Profile
« on: July 16, 2009, 07:51:30 pm »

Unfortunately, there is no xml file with that specifications.

You need go to YAF.Providers project, Folder Membership and edit class YafMembershipProvider.cs

// Minimum Required Password Length from Provider configuration
            _minimumRequiredPasswordLength = int.Parse(config["minRequiredPasswordLength"] ?? "6");

            // Minimum Required Non Alpha-numeric Characters from Provider configuration
            _minRequiredNonAlphanumericCharacters = int.Parse(config["minRequiredNonAlphanumericCharacters"] ?? "0");

            // Maximum number of allowed password attempts
            _maxInvalidPasswordAttempts = int.Parse(config["maxInvalidPasswordAttempts"] ?? "5");

            // Password Attempt Window when maximum attempts have been reached
            _passwordAttemptWindow = int.Parse(config["passwordAttemptWindow"] ?? "10");
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  




MySQL |  PHP |  Valid XHTML |  Valid CSS