mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 14:32:24 +00:00
Update client.cpp
This commit is contained in:
parent
4ee73eaf1e
commit
d8b5be574f
@ -226,7 +226,8 @@ void Client::Handle_Login(const char *data, unsigned int size)
|
|||||||
result = VerifyLoginHash(user, db_loginserver, cred, db_account_password_hash);
|
result = VerifyLoginHash(user, db_loginserver, cred, db_account_password_hash);
|
||||||
|
|
||||||
#ifdef LSPX
|
#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);
|
uint32 account_id = AccountManagement::CheckExternalLoginserverUserCredentials(user, cred);
|
||||||
if (account_id > 0) {
|
if (account_id > 0) {
|
||||||
auto encryption_mode = server.options.GetEncryptionMode();
|
auto encryption_mode = server.options.GetEncryptionMode();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user