Turn off Required Nonalphanumeric Characters in Membership and Roles with ASP.NET 2.0

Introduction

Quick tutorial on one of the coolest features in ASP.NET 2.0. I have found that if you are using the CreateUserWizard in VS 2005 by default it makes you use the Nonalphanumeric Characters in the password field. Well if your like me this little validator can piss you off in a hurry, so here is the fix for that.

Using the Code

In the Web.config under <roleManager enabled="true"/> put this next snippet in: