title: How to disable new user registration using identity Core 3.1?
body: <p>I have an ASP.NET Core 3.1. I need to temporary prevent new user from signing up.</p>
  <p>How can I do that?</p>
  <p>I tried looking at the options when registering the service but don't see an option to allow me to disable registration.</p>
  <pre><code>services.AddIdentity(options =&gt; 
  {
  
  });
  </code></pre>