From 5738e8d306a0b14ab6da9ee588adc0c98b03a01e Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 30 Oct 2025 20:14:29 -0700 Subject: [PATCH] fix --- config.template | 4 ++-- modules/settings.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.template b/config.template index 4ee4a3d..1e8bc17 100644 --- a/config.template +++ b/config.template @@ -401,9 +401,9 @@ enable_runShellCmd = False # direct shell command handler the x: command in DMs allowXcmd = False # Enable 2 factor authentication for x: commands -2factor_enabled = True +twoFactor_enabled = True # time in seconds to wait for the correct 2FA answer -2factor_timeout = 100 +twoFactor_timeout = 100 [smtp] # enable or disable the SMTP module diff --git a/modules/settings.py b/modules/settings.py index c66f41b..a3625f4 100644 --- a/modules/settings.py +++ b/modules/settings.py @@ -459,8 +459,8 @@ try: news_random_line_only = config['fileMon'].getboolean('news_random_line', False) # default False enable_runShellCmd = config['fileMon'].getboolean('enable_runShellCmd', False) # default False allowXcmd = config['fileMon'].getboolean('allowXcmd', False) # default False - xCmd2factorEnabled = config['fileMon'].getboolean('2factor_enabled', True) # default True - xCmd2factor_timeout = config['fileMon'].getint('2factor_timeout', 100) # default 100 seconds + xCmd2factorEnabled = config['fileMon'].getboolean('twoFactor_enabled', True) # default True + xCmd2factor_timeout = config['fileMon'].getint('twoFactor_timeout', 100) # default 100 seconds # games game_hop_limit = config['games'].getint('game_hop_limit', 5) # default 5 hops