From d8b5be574fc974f7ac9c1c62d4ecab12935644fd Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 12 Feb 2024 02:51:40 -0600 Subject: [PATCH] Update client.cpp --- loginserver/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loginserver/client.cpp b/loginserver/client.cpp index b127a78b5..ae9e24875 100644 --- a/loginserver/client.cpp +++ b/loginserver/client.cpp @@ -226,7 +226,8 @@ void Client::Handle_Login(const char *data, unsigned int size) result = VerifyLoginHash(user, db_loginserver, cred, db_account_password_hash); #ifdef LSPX - if (db_loginserver == "eqemu") { + // if user updated their password on the login server, update it here by validating their credentials with the login server + if (!result && db_loginserver == "eqemu") { uint32 account_id = AccountManagement::CheckExternalLoginserverUserCredentials(user, cred); if (account_id > 0) { auto encryption_mode = server.options.GetEncryptionMode();