Empty Torznab ApiKeyWhiteList

pull/1985/head
ilike2burnthing 1 year ago committed by Bogdan
parent 0b0a0cfa5b
commit c9b663247c

@ -1,3 +1,4 @@
using System;
using System.Linq; using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using FluentValidation; using FluentValidation;
@ -10,10 +11,7 @@ namespace NzbDrone.Core.Indexers.Torznab
{ {
public class TorznabSettingsValidator : AbstractValidator<TorznabSettings> public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
{ {
private static readonly string[] ApiKeyWhiteList = private static readonly string[] ApiKeyWhiteList = Array.Empty<string>();
{
"hd4free.xyz",
};
private static bool ShouldHaveApiKey(TorznabSettings settings) private static bool ShouldHaveApiKey(TorznabSettings settings)
{ {

Loading…
Cancel
Save