diff --git a/MetaPAL/Controllers/SpectrumMatchesController.cs b/MetaPAL/Controllers/SpectrumMatchesController.cs index ce8afed..fb46a9c 100644 --- a/MetaPAL/Controllers/SpectrumMatchesController.cs +++ b/MetaPAL/Controllers/SpectrumMatchesController.cs @@ -22,6 +22,9 @@ public SpectrumMatchesController(ApplicationDbContext context) _context = context; } + + //dr shortreeed is funny and smart + // GET: SpectrumMatches public async Task Index() { diff --git a/MetaPAL/Program.cs b/MetaPAL/Program.cs index ce4c2d4..6c24248 100644 --- a/MetaPAL/Program.cs +++ b/MetaPAL/Program.cs @@ -10,6 +10,9 @@ options.UseSqlServer(connectionString)); builder.Services.AddDatabaseDeveloperPageExceptionFilter(); + +//Zhuoxin was here + builder.Services.AddDefaultIdentity(options => options.SignIn.RequireConfirmedAccount = true) .AddEntityFrameworkStores(); builder.Services.AddControllersWithViews();