1
0
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:
Justin Baur
2025-05-14 14:34:34 -04:00
committed by GitHub
parent 13f97236f2
commit 07dc8808b2

View File

@@ -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();
}