Search code examples
asp.netsqlmembershipprovider

AspNetSqlMembershipProvider asp:PasswordRecovery: How to set the password complexity?


We are using the AspNetSqlMembershipProvider control to generate new passwords.

Is there anyway to turn down the complexity of the generated passwords? By default it is outputting things like this: *f.;tp{h|[hPCF

I realize I could roll my own password recovery process if I have to, but I'd like to avoid that.


Solution

  • You can do this all in the web.config. Check out this article, http://weblogs.asp.net/owscott/archive/2005/05/11/406550.aspx.