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