Add password reset GUI and processing

This commit is contained in:
Vortrex
2022-01-07 19:48:59 -06:00
parent 7dc047364e
commit b26b19ccc9
6 changed files with 30 additions and 5 deletions

View File

@@ -158,12 +158,15 @@ function showChangePasswordGUI() {
setChatWindowEnabled(false);
mexui.setInput(true);
passwordChange.window.shown = true;
mexui.focusedControl = passwordChange.passwordInput;
guiSubmitKey = checkChangePassword;
}
// ===========================================================================
function passwordChangeSuccess() {
logToConsole(LOG_DEBUG, `[VRR.GUI] Server reports password change was successful`);
guiSubmitKey = false;
closeAllWindows();
}