From 3c452ce6621df0a7eec03537ce9bbae804fc204a Mon Sep 17 00:00:00 2001 From: "kai.t" Date: Mon, 13 May 2024 18:38:51 +0700 Subject: [PATCH] fix input authentication --- scripts/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/background.js b/scripts/background.js index 2b382c8..439e912 100644 --- a/scripts/background.js +++ b/scripts/background.js @@ -25,7 +25,7 @@ function setProxy(proxy) { browser.webRequest.onAuthRequired.removeListener(sendAuth); } - if (requestProxy.username) { + if (proxy.username) { requestProxy.username = credential.username = proxy.username; requestProxy.password = credential.password = proxy.password; sendAuth = async () => {