mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
move sync to post login action
This commit is contained in:
@@ -42,8 +42,11 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
|
||||
environmentService: EnvironmentService, private ngZone: NgZone,
|
||||
private broadcasterService: BroadcasterService, private changeDetectorRef: ChangeDetectorRef) {
|
||||
super(authService, router, analytics, toasterService, i18nService, apiService,
|
||||
platformUtilsService, syncService, window, environmentService);
|
||||
this.successRoute = '/tabs/vault';
|
||||
platformUtilsService, window, environmentService);
|
||||
super.onSuccessfullLogin = () => {
|
||||
return syncService.fullSync(true);
|
||||
};
|
||||
super.successRoute = '/tabs/vault';
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user