From a922ee57a64e0d0fe6eb475518e665d6587858b9 Mon Sep 17 00:00:00 2001 From: ChristopherJamesMorris Date: Wed, 18 May 2022 16:09:51 +0100 Subject: [PATCH] #128 Removed line of code causing an issue with the automatic key generation --- .../Infrastructure/ServiceCollectionExtensions.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/gpconnect-appointment-checker/Configuration/Infrastructure/ServiceCollectionExtensions.cs b/source/gpconnect-appointment-checker/Configuration/Infrastructure/ServiceCollectionExtensions.cs index 72f54e5f..e3d62b2b 100644 --- a/source/gpconnect-appointment-checker/Configuration/Infrastructure/ServiceCollectionExtensions.cs +++ b/source/gpconnect-appointment-checker/Configuration/Infrastructure/ServiceCollectionExtensions.cs @@ -80,8 +80,7 @@ public static IServiceCollection ConfigureApplicationServices(this IServiceColle services.AddSingleton(); services.AddDataProtection() - .SetApplicationName("GpConnectAppointmentChecker") - .DisableAutomaticKeyGeneration(); + .SetApplicationName("GpConnectAppointmentChecker"); services.AddAntiforgery(options => {