upgrade otplib to 12.0.1 #6912

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458
2025-03-23 20:07:06 +00:00
parent 59204bc3fb
commit 46e6ddb8fc
3 changed files with 3 additions and 3 deletions

View File

@@ -4299,7 +4299,7 @@ function mainStart() {
if (config.settings.no2factorauth !== true) {
// Setup YubiKey OTP if configured
if (yubikey == true) { modules.push('yubikeyotp@0.2.0'); } // Add YubiKey OTP support
if (allsspi == false) { modules.push('otplib@10.2.3'); } // Google Authenticator support (v10 supports older NodeJS versions).
if (allsspi == false) { modules.push('otplib@12.0.1'); } // Google Authenticator support (v10 supports older NodeJS versions).
}
// Desktop multiplexor support