diff --git a/aspnetcore/security/authentication/identity/sample/WebApp6x/Program.cs b/aspnetcore/security/authentication/identity/sample/WebApp6x/Program.cs index 6f0099db3e..d12f7a8902 100644 --- a/aspnetcore/security/authentication/identity/sample/WebApp6x/Program.cs +++ b/aspnetcore/security/authentication/identity/sample/WebApp6x/Program.cs @@ -93,7 +93,7 @@ builder.Services.ConfigureApplicationCookie(options => var app = builder.Build(); -if (!app.Environment.IsDevelopment()) +if (app.Environment.IsDevelopment()) { app.UseMigrationsEndPoint(); } @@ -115,4 +115,4 @@ app.MapRazorPages(); app.Run(); #endregion -#endif \ No newline at end of file +#endif