+ User login and logoff events

This commit is contained in:
Bryan Ashby 2018-06-03 17:59:16 -06:00
parent c142a9c3d3
commit 0ae9d0d143
3 changed files with 9 additions and 1 deletions

View file

@ -67,7 +67,8 @@ module.exports = class User {
return false;
}
return this.properties.pw_pbkdf2_salt.length === User.PBKDF2.saltLen * 2 && this.prop_name.pw_pbkdf2_dk.length === User.PBKDF2.keyLen * 2;
return ((this.properties.pw_pbkdf2_salt.length === User.PBKDF2.saltLen * 2) &&
(this.properties.pw_pbkdf2_dk.length === User.PBKDF2.keyLen * 2));
}
isRoot() {