diff options
author | Rat <none@none> | 2010-09-16 21:00:36 +0200 |
---|---|---|
committer | Rat <none@none> | 2010-09-16 21:00:36 +0200 |
commit | 7bac6c16be027bd37d8f947aa98a3e6ac05571c6 (patch) | |
tree | 8be6d4ec51521e84a9e335b01d0c00f646eb53db | |
parent | 05ccd476be9bf9047aff2d4ff8f5fc5d02dc81f1 (diff) |
Auth/Login: fixes the "cant relog after login failed" bug and fixes a potential security risk
--HG--
branch : trunk
-rw-r--r-- | src/server/authserver/Server/AuthSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Server/AuthSocket.cpp b/src/server/authserver/Server/AuthSocket.cpp index 553e6e3affd..cff374a4b97 100644 --- a/src/server/authserver/Server/AuthSocket.cpp +++ b/src/server/authserver/Server/AuthSocket.cpp @@ -656,7 +656,7 @@ bool AuthSocket::_HandleLogonProof() } else { - char data[4]= { AUTH_LOGON_PROOF, WOW_FAIL_INCORRECT_PASSWORD, 3, 0}; + char data[4]= { AUTH_LOGON_PROOF, WOW_FAIL_UNKNOWN_ACCOUNT, 3, 0}; socket().send(data, sizeof(data)); sLog.outBasic("[AuthChallenge] account %s tried to login with wrong password!",_login.c_str ()); |