Add password reset GUI and processing
This commit is contained in:
@@ -48,6 +48,8 @@ function addAllNetworkHandlers() {
|
||||
// Account
|
||||
addNetworkHandler("vrr.checkLogin", checkLogin);
|
||||
addNetworkHandler("vrr.checkRegistration", checkRegistration);
|
||||
addNetworkHandler("vrr.checkResetPassword", checkAccountResetPasswordRequest);
|
||||
addNetworkHandler("vrr.checkChangePassword", checkAccountChangePassword);
|
||||
|
||||
// Developer
|
||||
addNetworkHandler("vrr.runCodeSuccess", clientRunCodeSuccess);
|
||||
@@ -288,6 +290,13 @@ function sendJobRouteStopToPlayer(client, position, colour) {
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function showPlayerChangePasswordGUI(client) {
|
||||
logToConsole(LOG_DEBUG, `[VRR.Client] Sending change password GUI signal to ${getPlayerDisplayForConsole(client)}`);
|
||||
triggerNetworkEvent("vrr.changePassword", client);
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function showPlayerLoginSuccessGUI(client) {
|
||||
logToConsole(LOG_DEBUG, `[VRR.Client] Sending login success GUI signal to ${getPlayerDisplayForConsole(client)}`);
|
||||
triggerNetworkEvent("vrr.loginSuccess", client);
|
||||
|
||||
Reference in New Issue
Block a user