From 3b539379a873dc082ea175c5330c4115ac4301ba Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Thu, 15 Apr 2021 13:44:48 +0300 Subject: [PATCH] Minor fix --- src/authutil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authutil.ts b/src/authutil.ts index e7e35b0..faf98ab 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -26,7 +26,7 @@ export function configAuthentication( } function isValidKey(key: string): boolean { - return /^[0-9\w\-\_\.]+$/i.test(key); + return /^[\w\-\.]+$/i.test(key); } function writeFeedToFile(