mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
If an environment is configured, show the hostname in the lock screen (#258)
* If an environment is configured, show the hostname in the lock screen. * Restore back src/locales/en_GB/messages.json
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
import { EnvironmentService } from 'jslib/abstractions/environment.service';
|
||||
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||
import { LockService } from 'jslib/abstractions/lock.service';
|
||||
@@ -19,8 +20,8 @@ export class LockComponent extends BaseLockComponent {
|
||||
constructor(router: Router, i18nService: I18nService,
|
||||
platformUtilsService: PlatformUtilsService, messagingService: MessagingService,
|
||||
userService: UserService, cryptoService: CryptoService,
|
||||
storageService: StorageService, lockService: LockService) {
|
||||
storageService: StorageService, lockService: LockService, environmentService: EnvironmentService) {
|
||||
super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService,
|
||||
storageService, lockService);
|
||||
storageService, lockService, environmentService);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user