From 1873ce41b6f2a94baca8b6dac396adf7ce1a7a13 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 28 Aug 2018 08:38:25 -0400 Subject: [PATCH] support for logout notification --- jslib | 2 +- src/app/services/services.module.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 3c432658788..45da8aa9eb4 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 3c43265878892adab985f6fc9b1b4270ae27aaa2 +Subproject commit 45da8aa9eb4dd7e12c9fa67ed09189bc4d5ed2f1 diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 3dc386d2d12..ea77dadb480 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -116,7 +116,7 @@ const authService = new AuthService(cryptoService, apiService, const exportService = new ExportService(folderService, cipherService, apiService); const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService); const notificationsService = new NotificationsService(userService, syncService, appIdService, - apiService, cryptoService); + apiService, cryptoService, async () => messagingService.send('logout', { expired: true })); const environmentService = new EnvironmentService(apiService, storageService, notificationsService); const auditService = new AuditService(cryptoFunctionService, apiService);