1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

syncing from menu and vault reload

This commit is contained in:
Kyle Spearrin
2018-02-09 13:47:59 -05:00
parent 16545d9be7
commit ac647f3184
4 changed files with 66 additions and 53 deletions

View File

@@ -61,9 +61,6 @@ export class AppComponent implements OnInit {
case 'logout':
this.logOut(message.expired);
break;
case 'doneLoggingOut':
this.doneLoggingOut(message.expired);
break;
case 'locked':
break;
case 'unlocked':
@@ -92,10 +89,6 @@ export class AppComponent implements OnInit {
this.passwordGenerationService.clear(),
]);
this.doneLoggingOut(expired);
}
private doneLoggingOut(expired: boolean) {
this.authService.logOut(() => {
this.analytics.eventTrack.next({ action: 'Logged Out' });
if (expired) {