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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user