summaryrefslogtreecommitdiffstats
path: root/server/src/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Program.cs')
-rw-r--r--server/src/Program.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/Program.cs b/server/src/Program.cs
index 4499b1a..b7e6ce6 100644
--- a/server/src/Program.cs
+++ b/server/src/Program.cs
@@ -89,8 +89,7 @@ public static class Program
});
}
- builder.Services.AddDataProtection().PersistKeysToFileSystem(new DirectoryInfo(AppPaths.DataProtectionKeys.HostPath));
-
+ builder.Services.AddDataProtection().PersistKeysToDbContext<AppDbContext>();
builder.Services.Configure(JsonSettings.Default);
builder.Services.AddQuartz(options => {
options.UsePersistentStore(o => {