Auth/Login: fixes the "cant relog after login failed" bug and fixes a potential security risk
--HG-- branch : trunk
This commit is contained in:
@@ -656,7 +656,7 @@ bool AuthSocket::_HandleLogonProof()
|
|||||||
}
|
}
|
||||||
else
|
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));
|
socket().send(data, sizeof(data));
|
||||||
sLog.outBasic("[AuthChallenge] account %s tried to login with wrong password!",_login.c_str ());
|
sLog.outBasic("[AuthChallenge] account %s tried to login with wrong password!",_login.c_str ());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user