title: Asp.net core force user to confirm email
body: <p>Like in the title I am trying to force the user to confirm the email before let him log in. I was doing things according to Microsoft tutorial and there was wrote that I have to add</p>
  
  <blockquote>
    <p>o.SignIn.RequireConfirmedEmail = true;</p>
  </blockquote>
  
  <p>what I have done but it do not block me to log in even I did not confirm my email</p>
  
  <pre><code> services.AddIdentity&lt;Company, IdentityRole&gt;
        (o =&gt;
        {
          // configure identity options
          o.Password.RequireDigit = false;
          o.Password.RequireLowercase = false;
          o.Password.RequireUppercase = false;
          o.Password.RequireNonAlphanumeric = false;
          o.Password.RequiredLength = 6;
          o.SignIn.RequireConfirmedEmail = true;
          o.Tokens.EmailConfirmationTokenProvider = EmailConfirmationTokenProviderName;
        })
        .AddEntityFrameworkStores&lt;ShopContext&gt;()
        .AddTokenProvider&lt;ConfirmEmailDataProtectorTokenProvider&lt;Company&gt;&gt;(EmailConfirmationTokenProviderName);
  </code></pre>
  
  <p>I am using jwt tokens authentication have I do something more in this case than things which I show?</p>