1
0
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:
Marc
2019-06-04 05:56:33 +02:00
committed by Kyle Spearrin
parent e7b0f19765
commit 89c066069c
3 changed files with 20 additions and 3 deletions

View File

@@ -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);
}
}