From d1b46b802ee194793398db8090a17e59700bcfff Mon Sep 17 00:00:00 2001 From: adit-bala Date: Mon, 16 Dec 2024 22:27:34 -0800 Subject: [PATCH] fix: avoid using stale auth tokens --- chrome-extension/js/service-worker.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/chrome-extension/js/service-worker.js b/chrome-extension/js/service-worker.js index 23d2db2..9e20cb1 100644 --- a/chrome-extension/js/service-worker.js +++ b/chrome-extension/js/service-worker.js @@ -35,9 +35,6 @@ function getAuthToken(interactive) { // Function to ensure authentication async function ensureAuthenticated() { - if (authToken) { - return authToken; - } try { // First, try to get the token non-interactively try {