mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 20:55:30 +02:00
+ User login and logoff events
This commit is contained in:
parent
c142a9c3d3
commit
0ae9d0d143
3 changed files with 9 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue