From abc6465af40458d8b3ec7ab13516d4c735c03989 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 16 Jun 2019 15:30:47 -0600 Subject: [PATCH] Template fixes --- core/user_2fa_otp_config.js | 2 +- misc/menu_template.in.hjson | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) 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: {