1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

fix: do not fetch refresh token on sync during CLI login (#16155)

fix: fetching a refresh token on a full sync during api key login on cli caused rate limit issues. we no longer fetch a refresh token on login since we shouldn't need it.
This commit is contained in:
Ike
2025-08-28 09:54:16 -04:00
committed by GitHub
parent ff64cf5063
commit 7bc04e2218

View File

@@ -333,7 +333,7 @@ export class LoginCommand {
}
// Run full sync before handling success response or password reset flows (to get Master Password Policies)
await this.syncService.fullSync(true);
await this.syncService.fullSync(true, { skipTokenRefresh: true });
// Handle updating passwords if NOT using an API Key for authentication
if (clientId == null && clientSecret == null) {