[PM-26974] Add reprompt check when deleting ciphers in browser extension (#16907)

* Add reprompt check when deleting ciphers in browser extension

* RE-use existing remprompt check function.
This commit is contained in:
Nik Gilmore 2025-10-22 16:18:53 -07:00 committed by GitHub
parent 7804aa118c
commit 740fe0787f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -267,6 +267,11 @@ export class ItemMoreOptionsComponent {
}
protected async delete() {
const repromptPassed = await this.passwordRepromptService.passwordRepromptCheck(this.cipher);
if (!repromptPassed) {
return;
}
const confirmed = await this.dialogService.openSimpleDialog({
title: { key: "deleteItem" },
content: { key: "deleteItemConfirmation" },