mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Server code cleanup & fixes.
This commit is contained in:
parent
c880007cf2
commit
aa92f4c2a2
5 changed files with 62 additions and 128 deletions
|
@ -14,6 +14,7 @@
|
|||
/*jshint esversion: 6 */
|
||||
"use strict";
|
||||
|
||||
const fs = require("fs");
|
||||
const crypto = require("crypto");
|
||||
|
||||
// Binary encoding and decoding functions
|
||||
|
@ -171,4 +172,4 @@ module.exports.checkPasswordRequirements = function(password, requirements) {
|
|||
if (requirements.upper && (upper < requirements.upper)) return false;
|
||||
if (requirements.nonalpha && (nonalpha < requirements.nonalpha)) return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue