title: _userManager.GetUserAsync(User) returns null
body: <p>I am trying to check a users email confirmation status after login and then direct them accordigly.</p>
  
  <p>Based on these two threads:</p>
  
  <p><a href="https://stackoverflow.com/questions/38751616/asp-net-core-identity-get-current-user">ASP.NET Core Identity - get current user</a></p>
  
  <p><a href="https://stackoverflow.com/questions/36641338/how-get-current-user-in-asp-net-core">How get current user in asp.net core</a></p>
  
  <p>I tried this:</p>
  
  <pre><code>var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);
  if (result.Succeeded)
  {
      ClaimsPrincipal currentUser = this.User;
      var thisUser = await _userManager.GetUserAsync(currentUser);
      if(thisUser.EmailConfirmed)
      {
          return View("~/Views/Task/Index.cshtml");
      }
      else
      {
          return View("ConfirmEmail");
      }
  }
  </code></pre>
  
  <p>And also this:</p>
  
  <pre><code>var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);
  if (result.Succeeded)
  {   
      var thisUser = await _userManager.GetUserAsync(HttpContext.User);
      if(thisUser.EmailConfirmed)
      {
          return View("~/Views/Task/Index.cshtml");
      }
      else
      {
          return View("ConfirmEmail");
      }
  }
  </code></pre>
  
  <p>From inside controller but <code>thisUser</code> is always null.</p>
  
  <p>How do I check on logon that their email is confirmed and re-direct appropriately?</p>