mirror of
https://github.com/Readarr/Readarr
synced 2026-03-17 18:14:22 +01:00
Don't persist value for SslCertHash when checking for existence
(cherry picked from commit 98c4cbdd13dc49ad30e91343897b8bd006002489)
This commit is contained in:
parent
699b765ee9
commit
05f262dc0a
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,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 (EnableSsl && (GetValue("SslCertHash", null).IsNotNullOrWhiteSpace() || SslCertPath.IsNullOrWhiteSpace()))
|
||||
if (EnableSsl && (GetValue("SslCertHash", string.Empty, false).IsNotNullOrWhiteSpace() || SslCertPath.IsNullOrWhiteSpace()))
|
||||
{
|
||||
SetValue("EnableSsl", false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue