1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +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

@@ -34,6 +34,7 @@ export class AddEditComponent extends BaseAddEditComponent implements OnInit {
totpSec: number;
totpLow: boolean;
passwordRevisionDate: Date;
viewingPasswordHistory = false;
protected totpInterval: number;
@@ -109,6 +110,10 @@ export class AddEditComponent extends BaseAddEditComponent implements OnInit {
this.messagingService.send('upgradeOrganization', { organizationId: this.cipher.organizationId });
}
viewHistory() {
this.viewingPasswordHistory = !this.viewingPasswordHistory;
}
protected cleanUp() {
if (this.totpInterval) {
window.clearInterval(this.totpInterval);