From d7fab7109a56db8d4c9dd606fff9e2ff3a5d02ca Mon Sep 17 00:00:00 2001 From: WChunter21 <158309642+WChunter21@users.noreply.github.com> Date: Wed, 18 Feb 2026 16:30:48 -0600 Subject: [PATCH] Revert "Fix: Forwarded Headers + Persist DataProtection Keys (Prod Auth Fix)" --- CulinaryCommandApp/Program.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CulinaryCommandApp/Program.cs b/CulinaryCommandApp/Program.cs index 1990c54..ae2eee7 100644 --- a/CulinaryCommandApp/Program.cs +++ b/CulinaryCommandApp/Program.cs @@ -18,7 +18,8 @@ using Amazon.Extensions.NETCore.Setup; using CulinaryCommandApp.Services; using Microsoft.AspNetCore.HttpOverrides; -using Microsoft.AspNetCore.DataProtection; + + var builder = WebApplication.CreateBuilder(args); @@ -174,9 +175,6 @@ o.KnownProxies.Clear(); }); -builder.Services.AddDataProtection() - .PersistKeysToFileSystem(new DirectoryInfo("/var/www/culinarycommand/dpkeys")) - .SetApplicationName("CulinaryCommand"); //