1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[PM-432] - Protect entire item when Master Password Re-prompt is selected - desktop (#14035)

* prompt for MP on cipher view

* only keep reprompt while cipher is open

* reset cipher password prompt after opening another cipher
This commit is contained in:
Jordan Aasen
2025-04-02 11:52:49 -07:00
committed by GitHub
parent 10306995e6
commit 538db63c50
3 changed files with 18 additions and 13 deletions

View File

@@ -205,12 +205,7 @@ export class ViewComponent implements OnDestroy, OnInit {
}
async edit() {
if (await this.promptPassword()) {
this.onEditCipher.emit(this.cipher);
return true;
}
return false;
this.onEditCipher.emit(this.cipher);
}
async clone() {