mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
remember email on login
This commit is contained in:
@@ -13,6 +13,7 @@ import { EnvironmentComponent } from './environment.component';
|
||||
|
||||
import { AuthService } from 'jslib/abstractions/auth.service';
|
||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||
import { StorageService } from 'jslib/abstractions/storage.service';
|
||||
import { SyncService } from 'jslib/abstractions/sync.service';
|
||||
|
||||
import { LoginComponent as BaseLoginComponent } from 'jslib/angular/components/login.component';
|
||||
@@ -28,8 +29,8 @@ export class LoginComponent extends BaseLoginComponent {
|
||||
constructor(authService: AuthService, router: Router,
|
||||
analytics: Angulartics2, toasterService: ToasterService,
|
||||
i18nService: I18nService, private syncService: SyncService,
|
||||
private componentFactoryResolver: ComponentFactoryResolver) {
|
||||
super(authService, router, analytics, toasterService, i18nService);
|
||||
private componentFactoryResolver: ComponentFactoryResolver, storageService: StorageService) {
|
||||
super(authService, router, analytics, toasterService, i18nService, storageService);
|
||||
super.onSuccessfullLogin = () => {
|
||||
return syncService.fullSync(true);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user