YAFLogo

Posted by: phaedoHD - Wednesday, 17 September 2008 20:48:44
Hi, I'd like to change the password requirements on the yaf registration page. My old registration page only required 4 letters or longer thorugh the machine.config membership settings. With yaf now though it wants a special characters "!?@ etc" and a different case in the letters. So i then added this to the web.config membership section: minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0" like this: But that just gives me an error. Any idea how to change this to what i want here? Thanks!

Posted by: test2005 - Wednesday, 17 September 2008 22:04:33
In order for those settings to work, your "CustomizedMembershipProvider" must extend them from the framework. If you use the ASP.NET default membership and roles provider, you should have no problem.

Posted by: phaedoHD - Wednesday, 17 September 2008 22:15:31
[quote=test2005] If you use the ASP.NET default membership and roles provider, you should have no problem. [/quote] I'm using the default membership provider with yaf. Here is my web.config. Any ideas what is going wrong here? Thanks!

Posted by: phaedoHD - Wednesday, 17 September 2008 22:26:08
ah, never mind it is working now. i must have had a typo or something when i first did it. my bad.

Posted by: test2005 - Wednesday, 17 September 2008 22:29:00
What version are you running? If it's v1.9.3.3 the providers sections should look like this... [code] [/code] But if your wanting to do what you discussed above, the section should look like this... [code] [/code] REMEMBER.....each of these settings need the ConnectionString and ApplicationName set CORRECTLY in order to work!!! Missing out one will cause an error! HTH :)