1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

remember email on login

This commit is contained in:
Kyle Spearrin
2018-07-13 09:29:08 -04:00
parent 3ce9d5082f
commit 3fc7cf4199
3 changed files with 6 additions and 6 deletions

View File

@@ -6,6 +6,7 @@ import { Angulartics2 } from 'angulartics2';
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';
@@ -17,8 +18,8 @@ import { LoginComponent as BaseLoginComponent } from 'jslib/angular/components/l
export class LoginComponent extends BaseLoginComponent {
constructor(authService: AuthService, router: Router,
analytics: Angulartics2, toasterService: ToasterService,
i18nService: I18nService, private syncService: SyncService) {
super(authService, router, analytics, toasterService, i18nService);
i18nService: I18nService, private syncService: SyncService, storageService: StorageService) {
super(authService, router, analytics, toasterService, i18nService, storageService);
super.onSuccessfullLogin = () => {
return syncService.fullSync(true);
};