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 => {