From 25e69df68f22c12aee8000ad29264ea6746be1d8 Mon Sep 17 00:00:00 2001 From: Dylan Rogowsky <148649952+dylanrogowsky-oxd@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:10:05 -0700 Subject: [PATCH] SCJ-288: Update data protection key storage (#260) --- app/Startup.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Startup.cs b/app/Startup.cs index 8137e6a..1e5e13e 100644 --- a/app/Startup.cs +++ b/app/Startup.cs @@ -86,7 +86,10 @@ public void ConfigureServices(IServiceCollection services) }); // Use a PostgreSQL table for session encryption keys - services.AddDataProtection().PersistKeysToDbContext(); + services + .AddDataProtection() + .PersistKeysToDbContext() + .SetApplicationName("SCJ-Online-Booking"); } // this setting is needed because NTLM auth does not work by default on Unix