1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

Updated cipher view to have the latest value of organizationUseTotp from server response (#13223)

This commit is contained in:
SmithThe4th
2025-02-06 12:22:27 -05:00
committed by GitHub
parent 276d9b9a9b
commit 1746046f18
3 changed files with 5 additions and 2 deletions

View File

@@ -366,6 +366,9 @@ export class VaultItemDialogComponent implements OnInit, OnDestroy {
const cipherData = new CipherData(cipherResponse);
cipher = new Cipher(cipherData);
// Update organizationUseTotp from server response
this.cipher.organizationUseTotp = cipher.organizationUseTotp;
}
// Store the updated cipher so any following edits use the most up to date cipher