diff --git a/core/user_2fa_otp_config.js b/core/user_2fa_otp_config.js index 8ad50425..1a7bf0c6 100644 --- a/core/user_2fa_otp_config.js +++ b/core/user_2fa_otp_config.js @@ -153,7 +153,7 @@ exports.getModule = class User2FA_OTPConfigModule extends MenuModule { } }; this.gotoMenu( - this.menuConfig.config.user2FAOTP_ShowDetails || 'user2FAOTP_ShowDetails', + this.menuConfig.config.userTwoFactorAuthOTPConfigShowDetails || 'userTwoFactorAuthOTPConfigShowDetails', modOpts, cb ); diff --git a/misc/menu_template.in.hjson b/misc/menu_template.in.hjson index 9de82c76..9be72102 100644 --- a/misc/menu_template.in.hjson +++ b/misc/menu_template.in.hjson @@ -1304,6 +1304,19 @@ userTwoFactorAuthOTPSecConnRequired: { desc: Insecure Warning art: 2FAOTPSECREQ + config: { + cls: true + pause: true + } + } + + userTwoFactorAuthOTPConfigShowDetails: { + desc: 2FA/OTP Details + module: show_art + config: { + pause: true + method: extraArgs + } } nodeMessage: {