Skip to content

Commit

Permalink
Merge pull request #2 from beansmile/fix-localauth
Browse files Browse the repository at this point in the history
fix: localAuth logout 不需要删浏览器auth session
  • Loading branch information
ColinLQ authored Oct 25, 2024
2 parents 8614d63 + be50649 commit 73cca9d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/authStrategies/LocalAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ class LocalAuth extends BaseAuthStrategy {
}

async logout() {
if (this.userDataDir) {
await fs.promises.rm(this.userDataDir, { recursive: true, force: true })
.catch((e) => {
throw new Error(e);
});
}
}

}
Expand Down

0 comments on commit 73cca9d

Please sign in to comment.