1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-02 21:15:05 +00:00

Don't persist value for SslCertHash when checking for existence

(cherry picked from commit 98c4cbdd13dc49ad30e91343897b8bd006002489)
This commit is contained in:
Bogdan 2024-08-27 00:27:34 +03:00
parent 7738ee78c8
commit af4eeeb893

View file

@ -365,7 +365,7 @@ public void MigrateConfigFile()
} }
// If SSL is enabled and a cert hash is still in the config file or cert path is empty disable SSL // If SSL is enabled and a cert hash is still in the config file or cert path is empty disable SSL
if (EnableSsl && (GetValue("SslCertHash", null).IsNotNullOrWhiteSpace() || SslCertPath.IsNullOrWhiteSpace())) if (EnableSsl && (GetValue("SslCertHash", string.Empty, false).IsNotNullOrWhiteSpace() || SslCertPath.IsNullOrWhiteSpace()))
{ {
SetValue("EnableSsl", false); SetValue("EnableSsl", false);
} }