title: Create A Default User for an ASP.NET Application Using Forms Authentication
body: <p>I'm creating an ASP.NET web application which I want to secure with Forms Authentication. </p>
  
  <p>When the application is run for the first time, I want it to create a default administrator account so that the owner is able to log in and configure the application.</p>
  
  <p>I managed to get something working for this by running the following method from the Application_Start method:</p>
  
  <pre><code>private static void InitializeMembership(MembershipProvider provider)
  {
      int total;
      provider.GetAllUsers(0, 1, out total);
  
      if (total == 0)
      {
          Membership.CreateUser("admin", "admin");
      }
  }
  </code></pre>
  
  <p>The problem is this fails with an error about the chosen password not being secure enough. Normally this would be fine as I do want to enforce a strong password, but in this specific case I want a simple password</p>
  
  <p>Is there a way of disabling the check for just this call, or am I approaching the whole problem incorrectly?</p>