mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
support for logout notification
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: bc198c60d1...45da8aa9eb
@@ -130,7 +130,7 @@ export default class MainBackground {
|
||||
this.tokenService = new TokenService(this.storageService);
|
||||
this.appIdService = new AppIdService(this.storageService);
|
||||
this.apiService = new ApiService(this.tokenService, this.platformUtilsService,
|
||||
async (expired: boolean) => await this.logout(expired));
|
||||
(expired: boolean) => this.logout(expired));
|
||||
this.userService = new UserService(this.tokenService, this.storageService);
|
||||
this.settingsService = new SettingsService(this.userService, this.storageService);
|
||||
this.cipherService = new CipherService(this.cryptoService, this.userService, this.settingsService,
|
||||
@@ -161,7 +161,7 @@ export default class MainBackground {
|
||||
this.auditService = new AuditService(cryptoFunctionService, this.apiService);
|
||||
this.exportService = new ExportService(this.folderService, this.cipherService, this.apiService);
|
||||
this.notificationsService = new NotificationsService(this.userService, this.syncService, this.appIdService,
|
||||
this.apiService, this.cryptoService);
|
||||
this.apiService, this.cryptoService, () => this.logout(true));
|
||||
this.environmentService = new EnvironmentService(this.apiService, this.storageService,
|
||||
this.notificationsService);
|
||||
this.analytics = new Analytics(window, () => BrowserApi.gaFilter(), this.platformUtilsService,
|
||||
|
||||
Reference in New Issue
Block a user