mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
move sync to post login action
This commit is contained in:
@@ -27,9 +27,12 @@ export class LoginComponent extends BaseLoginComponent {
|
||||
|
||||
constructor(authService: AuthService, router: Router,
|
||||
analytics: Angulartics2, toasterService: ToasterService,
|
||||
i18nService: I18nService, syncService: SyncService,
|
||||
i18nService: I18nService, private syncService: SyncService,
|
||||
private componentFactoryResolver: ComponentFactoryResolver) {
|
||||
super(authService, router, analytics, toasterService, i18nService, syncService);
|
||||
super(authService, router, analytics, toasterService, i18nService);
|
||||
super.onSuccessfullLogin = () => {
|
||||
return syncService.fullSync(true);
|
||||
};
|
||||
}
|
||||
|
||||
settings() {
|
||||
|
||||
Reference in New Issue
Block a user