From 4d5df858e93febdc67aebd71abff5cb66836f005 Mon Sep 17 00:00:00 2001
From: Brandon Maharaj <107377945+BrandonM-Bitwarden@users.noreply.github.com>
Date: Mon, 18 Jul 2022 17:47:53 -0400
Subject: [PATCH] chore: added new ui fields (#2991)
---
.../src/app/settings/change-password.component.html | 11 +++++++++++
.../web/src/app/settings/change-password.component.ts | 4 ++++
apps/web/src/app/settings/profile.component.html | 10 ----------
apps/web/src/app/settings/profile.component.ts | 2 --
libs/common/src/models/request/passwordRequest.ts | 1 +
5 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/apps/web/src/app/settings/change-password.component.html b/apps/web/src/app/settings/change-password.component.html
index 90df85042e6..3171d8e0ea8 100644
--- a/apps/web/src/app/settings/change-password.component.html
+++ b/apps/web/src/app/settings/change-password.component.html
@@ -64,6 +64,17 @@
+
+
+
+
diff --git a/apps/web/src/app/settings/profile.component.ts b/apps/web/src/app/settings/profile.component.ts
index f93cc340ad6..fc7a56632ea 100644
--- a/apps/web/src/app/settings/profile.component.ts
+++ b/apps/web/src/app/settings/profile.component.ts
@@ -18,7 +18,6 @@ export class ProfileComponent implements OnInit {
loading = true;
profile: ProfileResponse;
fingerprint: string;
- hidePasswordHint = false;
formPromise: Promise
;
@@ -41,7 +40,6 @@ export class ProfileComponent implements OnInit {
if (fingerprint != null) {
this.fingerprint = fingerprint.join("-");
}
- this.hidePasswordHint = await this.keyConnectorService.getUsesKeyConnector();
}
async submit() {
diff --git a/libs/common/src/models/request/passwordRequest.ts b/libs/common/src/models/request/passwordRequest.ts
index 9f7df7df373..eb3498a27f5 100644
--- a/libs/common/src/models/request/passwordRequest.ts
+++ b/libs/common/src/models/request/passwordRequest.ts
@@ -2,5 +2,6 @@ import { SecretVerificationRequest } from "./secretVerificationRequest";
export class PasswordRequest extends SecretVerificationRequest {
newMasterPasswordHash: string;
+ masterPasswordHint: string;
key: string;
}