Update 2FA GUI
This commit is contained in:
@@ -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: {
|
main: {
|
||||||
textSize: 10.0,
|
textSize: 10.0,
|
||||||
textAlign: 0.5,
|
textAlign: 0.5,
|
||||||
@@ -129,7 +129,7 @@ function twoFactorAuthSuccess() {
|
|||||||
|
|
||||||
function checkTwoFactorAuth() {
|
function checkTwoFactorAuth() {
|
||||||
logToConsole(LOG_DEBUG, `[VRR.GUI] Checking two-factor authentication with server ...`);
|
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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
Reference in New Issue
Block a user