title: await SignInManager.PasswordSignInAsync() always results in a failure in my ASP.NET MVC project
body: <p>I am currently implementing the ability to login on my ASP.NET MVC project.  I am trying to use as much of the provided methods as I can.</p>
  
  <p>Currently, I have set up a table in my database known as User, which stores all the usernames, passwords and other details regarding the users.</p>
  
  <p>My LoginViewModel:</p>
  
  <pre><code>public class LoginViewModel
  {
      public User User { get; set; }
  }
  </code></pre>
  
  <p>The AccountController (which is mostly the default, I have only changed the variables of the PasswordSignInAsync method)</p>
  
  <pre><code>[HttpPost]
  [AllowAnonymous]
  [ValidateAntiForgeryToken]
  public async Task&lt;ActionResult&gt; Login(LoginViewModel model, string returnUrl)
  {
      if (ModelState.IsValid)
      {
          return View(model);
      }
      // To enable password failures to trigger account lockout, change to shouldLockout: true
      var result = await SignInManager.PasswordSignInAsync(model.User.Username, model.User.Password, false , shouldLockout: false);
  </code></pre>
  
  <p>Why does this line always return a Failure?</p>
  
  <p>It's my first time trying to add the Login ability, so any help would be greatly appreciated. :)</p>