support for logout notification

This commit is contained in:
Kyle Spearrin 2018-08-28 08:38:25 -04:00
parent ff51e4cc36
commit 1873ce41b6
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 3c43265878892adab985f6fc9b1b4270ae27aaa2 Subproject commit 45da8aa9eb4dd7e12c9fa67ed09189bc4d5ed2f1

View File

@ -116,7 +116,7 @@ const authService = new AuthService(cryptoService, apiService,
const exportService = new ExportService(folderService, cipherService, apiService); const exportService = new ExportService(folderService, cipherService, apiService);
const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService); const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService);
const notificationsService = new NotificationsService(userService, syncService, appIdService, 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 environmentService = new EnvironmentService(apiService, storageService, notificationsService);
const auditService = new AuditService(cryptoFunctionService, apiService); const auditService = new AuditService(cryptoFunctionService, apiService);