mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-24 07:01:29 +00:00
Don't persist value for SslCertHash when checking for existence
This commit is contained in:
parent
25d9f09a43
commit
98c4cbdd13
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ namespace NzbDrone.Core.Configuration
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue