Skip to content

Commit

Permalink
SCJ-288: Update data protection key storage (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanrogowsky-oxd authored Dec 13, 2024
1 parent 764e784 commit 25e69df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ public void ConfigureServices(IServiceCollection services)
});

// Use a PostgreSQL table for session encryption keys
services.AddDataProtection().PersistKeysToDbContext<ApplicationDbContext>();
services
.AddDataProtection()
.PersistKeysToDbContext<ApplicationDbContext>()
.SetApplicationName("SCJ-Online-Booking");
}

// this setting is needed because NTLM auth does not work by default on Unix
Expand Down

0 comments on commit 25e69df

Please sign in to comment.