censored client id config diagnose

This commit is contained in:
mxritzdev
2025-05-15 14:15:44 +02:00
parent eab03d7f5a
commit f87e4a0800

View File

@@ -42,6 +42,8 @@ public class CoreConfigDiagnoseProvider : IDiagnoseProvider
config.Authentication.OAuth2.Secret = CheckForNullOrEmpty(config.Authentication.OAuth2.Secret); config.Authentication.OAuth2.Secret = CheckForNullOrEmpty(config.Authentication.OAuth2.Secret);
config.Authentication.Secret = CheckForNullOrEmpty(config.Authentication.Secret); config.Authentication.Secret = CheckForNullOrEmpty(config.Authentication.Secret);
config.Authentication.OAuth2.ClientId = CheckForNullOrEmpty(config.Authentication.OAuth2.ClientId);
await archive.AddText("core/config.txt", await archive.AddText("core/config.txt",
JsonSerializer.Serialize(config, new JsonSerializerOptions() { WriteIndented = true })); JsonSerializer.Serialize(config, new JsonSerializerOptions() { WriteIndented = true }));