mirror of
https://github.com/Readarr/Readarr
synced 2026-02-13 02:03:06 +01:00
Remove dead Torznab API key whitelist
(cherry picked from commit 3454f1c9ed11fbb9aa66e16524a529e924e5a77e) Closes #3179
This commit is contained in:
parent
fc4cf8e81e
commit
4aec7a0ea7
1 changed files with 2 additions and 4 deletions
|
|
@ -1,3 +1,4 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using FluentValidation;
|
||||
|
|
@ -10,10 +11,7 @@ namespace NzbDrone.Core.Indexers.Torznab
|
|||
{
|
||||
public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
|
||||
{
|
||||
private static readonly string[] ApiKeyWhiteList =
|
||||
{
|
||||
"hd4free.xyz",
|
||||
};
|
||||
private static readonly string[] ApiKeyWhiteList = Array.Empty<string>();
|
||||
|
||||
private static bool ShouldHaveApiKey(TorznabSettings settings)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue