mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
Fixed invalid cipher remprompt values (#17513)
This commit is contained in:
@@ -414,7 +414,10 @@ export class Cipher extends Domain implements Decryptable<CipherView> {
|
|||||||
creationDate: this.creationDate.toISOString(),
|
creationDate: this.creationDate.toISOString(),
|
||||||
deletedDate: this.deletedDate?.toISOString(),
|
deletedDate: this.deletedDate?.toISOString(),
|
||||||
archivedDate: this.archivedDate?.toISOString(),
|
archivedDate: this.archivedDate?.toISOString(),
|
||||||
reprompt: this.reprompt,
|
reprompt:
|
||||||
|
this.reprompt === CipherRepromptType.Password
|
||||||
|
? CipherRepromptType.Password
|
||||||
|
: CipherRepromptType.None,
|
||||||
// Initialize all cipher-type-specific properties as undefined
|
// Initialize all cipher-type-specific properties as undefined
|
||||||
login: undefined,
|
login: undefined,
|
||||||
identity: undefined,
|
identity: undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user