1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

view password history

This commit is contained in:
Kyle Spearrin
2018-07-30 08:48:48 -04:00
parent a25f6dee73
commit ed8aaa5505
3 changed files with 18 additions and 1 deletions

View File

@@ -377,6 +377,18 @@
<b class="font-weight-semibold">{{'datePasswordUpdated' | i18n}}:</b>
{{passwordRevisionDate | date:'medium'}}
</div>
<div *ngIf="cipher.hasPasswordHistory">
<b class="font-weight-semibold">{{'passwordHistory' | i18n}}:</b>
<a href="#" appStopClick (click)="viewHistory()" title="{{'view' | i18n}}">
{{cipher.passwordHistory.length}}
</a>
</div>
<div class="ml-3" *ngIf="viewingPasswordHistory">
<div *ngFor="let ph of cipher.passwordHistory">
{{ph.lastUsedDate | date:'short'}} -
<span class="text-monospace ml-2">{{ph.password}}</span>
</div>
</div>
</div>
</ng-container>
</div>