refactors to UX
This commit is contained in:
parent
508a8bfc3c
commit
70d306242e
5 changed files with 41 additions and 22 deletions
|
|
@ -43,6 +43,11 @@ Storage.prototype._getPassphrase = function() {
|
|||
return pps[this.__uniqueid];
|
||||
}
|
||||
|
||||
|
||||
Storage.prototype.hasPassphrase = function() {
|
||||
return pps[this.__uniqueid] ? true : false;
|
||||
};
|
||||
|
||||
Storage.prototype.setPassphrase = function(password) {
|
||||
pps[this.__uniqueid] = password;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue