1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

Password reprompt (#343)

Add support for password reprompt on cipher items
This commit is contained in:
Oscar Hinton
2021-04-15 16:14:33 +02:00
committed by GitHub
parent 66eec2b022
commit 372e139810
17 changed files with 166 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
import { CipherRepromptType } from '../../enums/cipherRepromptType';
import { CipherType } from '../../enums/cipherType';
import { Cipher } from '../domain/cipher';
@@ -33,6 +34,7 @@ export class CipherView implements View {
collectionIds: string[] = null;
revisionDate: Date = null;
deletedDate: Date = null;
reprompt: CipherRepromptType = null;
constructor(c?: Cipher) {
if (!c) {
@@ -51,6 +53,7 @@ export class CipherView implements View {
this.collectionIds = c.collectionIds;
this.revisionDate = c.revisionDate;
this.deletedDate = c.deletedDate;
this.reprompt = c.reprompt;
}
get subTitle(): string {