From 3048e1e47b9bf3e58f9bcdfd28d57787362084d0 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 19 Jan 2022 12:56:44 -0600 Subject: [PATCH] Update 2FA GUI --- scripts/client/gui/2fa.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/client/gui/2fa.js b/scripts/client/gui/2fa.js index 147ca40a..729facbc 100644 --- a/scripts/client/gui/2fa.js +++ b/scripts/client/gui/2fa.js @@ -47,7 +47,7 @@ function initTwoFactorAuthenticationGUI() { }, }); - twoFactorAuth.codeLabel = twoFactorAuth.window.text(20, 135, 260, 20, 'Please enter the code from your authenticator app!', { + twoFactorAuth.codeLabel = twoFactorAuth.window.text(20, 135, 260, 20, 'Please enter the code sent to your email!', { main: { textSize: 10.0, textAlign: 0.5, @@ -129,7 +129,7 @@ function twoFactorAuthSuccess() { function checkTwoFactorAuth() { logToConsole(LOG_DEBUG, `[VRR.GUI] Checking two-factor authentication with server ...`); - sendNetworkEventToServer("vrr.checkTwoFactorAuth", twoFactorAuth.codeInput.lines[0]); + sendNetworkEventToServer("vrr.2fa", twoFactorAuth.codeInput.lines[0]); } // =========================================================================== \ No newline at end of file