mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Use sync option to skip token refresh after login (#14581)
This commit is contained in:
@@ -12,7 +12,7 @@ export class DefaultLoginSuccessHandlerService implements LoginSuccessHandlerSer
|
||||
private loginEmailService: LoginEmailService,
|
||||
) {}
|
||||
async run(userId: UserId): Promise<void> {
|
||||
await this.syncService.fullSync(true);
|
||||
await this.syncService.fullSync(true, { skipTokenRefresh: true });
|
||||
await this.userAsymmetricKeysRegenerationService.regenerateIfNeeded(userId);
|
||||
await this.loginEmailService.clearLoginEmail();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user