From 5b981063b223a5ddfb9fced4ac87a3a91b170e34 Mon Sep 17 00:00:00 2001 From: zhuoxinshi Date: Tue, 5 Dec 2023 13:23:54 -0600 Subject: [PATCH 1/2] first commit --- MetaPAL/Program.cs | 3 +++ 1 file changed, 3 insertions(+) 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(); From 8adb7e1a90bf978cc1e582dbe9736f8d44c50560 Mon Sep 17 00:00:00 2001 From: Zhuoxin Shi Date: Thu, 4 Jan 2024 15:05:05 -0600 Subject: [PATCH 2/2] add a true statement --- MetaPAL/Controllers/SpectrumMatchesController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MetaPAL/Controllers/SpectrumMatchesController.cs b/MetaPAL/Controllers/SpectrumMatchesController.cs index 8749e7d..a3f6553 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() {