mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
view password history
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user