From b118a614be148ae9414db0342efa3e9f5b483a33 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 28 Aug 2018 08:38:34 -0400 Subject: [PATCH] support for logout notification --- jslib | 2 +- src/app/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.module.ts b/src/app/services.module.ts index 9b7eec12385..604eaa2bfaf 100644 --- a/src/app/services.module.ts +++ b/src/app/services.module.ts @@ -113,7 +113,7 @@ const authService = new AuthService(cryptoService, apiService, const exportService = new ExportService(folderService, cipherService, apiService); const auditService = new AuditService(cryptoFunctionService, apiService); 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 analytics = new Analytics(window, () => isDev(), platformUtilsService, storageService, appIdService);