1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

More session recording fixes, OTP on older NodeJS now works.

This commit is contained in:
Ylian Saint-Hilaire 2020-03-11 01:27:16 -07:00
parent 8e1fc021c7
commit bfb0c9c914
3 changed files with 10 additions and 6 deletions

View file

@ -2417,7 +2417,7 @@ function mainStart() {
if (config.settings.no2factorauth !== true) {
// Setup YubiKey OTP if configured
if (yubikey == true) { modules.push('yubikeyotp'); } // Add YubiKey OTP support
if (allsspi == false) { modules.push('otplib'); } // Google Authenticator support
if (allsspi == false) { modules.push('otplib@10.2.3'); } // Google Authenticator support (v10 supports older NodeJS versions).
}
// Install any missing modules and launch the server