fix duo and package.json

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458
2024-12-23 13:13:37 +00:00
parent c92b88a374
commit 5cf468159d
6 changed files with 636 additions and 2043 deletions

View File

@@ -2362,7 +2362,6 @@
QV('authAppSetupCheck', userinfo.otpsecret == 1);
QV('manageAuthApp', (serverinfo.lock2factor != true) && ((userinfo.otpsecret == 1) || ((features2 & 0x00020000) == 0)));
QV('manageDuoApp', (serverinfo.lock2factor != true) && ((features2 & 0x20000000) != 0));
console.log('duo', (serverinfo.lock2factor != true) && ((features2 & 0x20000000) != 0));
QV('authKeySetupCheck', userinfo.otphkeys > 0);
QV('authPushAuthDevCheck', (userinfo.otpdev > 0) && ((features2 & 0x40) != 0));
QV('authCodesSetupCheck', userinfo.otpkeys > 0);