mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-15 21:14:32 +01:00
Don't persist value for SslCertHash when checking for existence
This commit is contained in:
parent
281e712542
commit
7a5fa452f0
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,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