From 0dc1a2f0f4f3cac2caaa2c024642dddbcd3ec505 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Mon, 15 Oct 2018 10:41:36 -0400 Subject: [PATCH] Add IPlatformIdentifier to the composition root --- src/Tgstation.Server.Host/Core/Application.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Core/Application.cs b/src/Tgstation.Server.Host/Core/Application.cs index 1288324842..737e635a7c 100644 --- a/src/Tgstation.Server.Host/Core/Application.cs +++ b/src/Tgstation.Server.Host/Core/Application.cs @@ -97,11 +97,12 @@ namespace Tgstation.Server.Host.Core //enable options which give us config reloading services.AddOptions(); - //setup stuff for setup wizard + //other stuff needed for for setup wizard and configuration services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); + services.AddSingleton(); //needed here for JWT configuration //we use a manually instatiated token factory to prevent it from regenerating the signing key after we configure it