Update your secret recipe...
<p>Configure <code>AspNetCore Identity</code> with custom user</p> <pre><code class="language-cs">builder.Services.AddIdentity<ApplicationUser, IdentityRole>(options => { options.User.RequireUniqueEmail = true; options.Password.RequiredLength = 8; }) .AddEntityFrameworkStores<ApplicationDbContext>() .AddDefaultTokenProviders(); </code></pre>
Update Note
Back To All Notes