mirror of
https://github.com/bitwarden/jslib
synced 2026-01-04 09:33:14 +00:00
[refactor] Remove some unused getters from the account model
This commit is contained in:
@@ -182,14 +182,5 @@ export class Account {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private get hasMasterKey(): boolean {
|
||||
return this.cryptoMasterKey != null;
|
||||
}
|
||||
|
||||
private get isActive(): boolean {
|
||||
const diffSeconds = ((new Date()).getTime() - this.lastActive) / 1000;
|
||||
return diffSeconds < (this.vaultTimeout * 60);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user