Update 2FA GUI

This commit is contained in:
Vortrex
2022-01-19 12:56:44 -06:00
parent 33fb3fab52
commit 3048e1e47b

View File

@@ -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]);
}
// ===========================================================================