Use sync option to skip token refresh after login (#14581)

pull/14784/head^2
Justin Baur 11 months ago committed by GitHub
parent 13f97236f2
commit 07dc8808b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save