Skip to content

Commit

Permalink
fix: avoid using stale auth tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
adit-bala committed Dec 17, 2024
1 parent d867509 commit d1b46b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chrome-extension/js/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d1b46b8

Please sign in to comment.