We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49c0a24 commit 1d5a460Copy full SHA for 1d5a460
src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Startup.cs
@@ -69,7 +69,7 @@ public void ConfigureServices(IServiceCollection services)
69
options.UseSqlite(
70
Configuration.GetConnectionString("DefaultConnection")));
71
#endif
72
- services.AddDefaultIdentity<IdentityUser>()
+ services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true)
73
.AddDefaultUI(UIFramework.Bootstrap4)
74
.AddEntityFrameworkStores<ApplicationDbContext>();
75
0 commit comments