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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user