1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +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

@@ -147,6 +147,7 @@ export class CipherService implements CipherServiceAbstraction {
cipher.type = model.type;
cipher.collectionIds = model.collectionIds;
cipher.revisionDate = model.revisionDate;
cipher.reprompt = model.reprompt;
if (key == null && cipher.organizationId != null) {
key = await this.cryptoService.getOrgKey(cipher.organizationId);