mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
logged in as on
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: cd46f64993...802d38f52e
@@ -19,7 +19,9 @@
|
||||
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||
</button>
|
||||
</div>
|
||||
<small class="text-muted form-text">{{'loggedInAsEmail' | i18n : email}}</small>
|
||||
<small class="text-muted form-text">
|
||||
{{'loggedInAsEmailOn' | i18n : email : webVaultHostname}}
|
||||
</small>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="d-flex">
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Component } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
||||
import { EnvironmentService } from 'jslib/abstractions/environment.service';
|
||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||
import { LockService } from 'jslib/abstractions/lock.service';
|
||||
import { MessagingService } from 'jslib/abstractions/messaging.service';
|
||||
@@ -22,9 +23,9 @@ export class LockComponent extends BaseLockComponent {
|
||||
platformUtilsService: PlatformUtilsService, messagingService: MessagingService,
|
||||
userService: UserService, cryptoService: CryptoService,
|
||||
storageService: StorageService, lockService: LockService,
|
||||
private routerService: RouterService) {
|
||||
environmentService: EnvironmentService, private routerService: RouterService) {
|
||||
super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService,
|
||||
storageService, lockService);
|
||||
storageService, lockService, environmentService);
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
|
||||
@@ -589,12 +589,16 @@
|
||||
"unlock": {
|
||||
"message": "Unlock"
|
||||
},
|
||||
"loggedInAsEmail": {
|
||||
"message": "Logged in as $EMAIL$.",
|
||||
"loggedInAsEmailOn": {
|
||||
"message": "Logged in as $EMAIL$ on $HOSTNAME$.",
|
||||
"placeholders": {
|
||||
"email": {
|
||||
"content": "$1",
|
||||
"example": "name@example.com"
|
||||
},
|
||||
"hostname": {
|
||||
"content": "$2",
|
||||
"example": "bitwarden.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user