My systeme locked account for wrong password , Isn't good tips sorry
Index: src/realmd/AuthSocket.cpp
===================================================================
--- src/realmd/AuthSocket.cpp (revision 5670)
+++ src/realmd/AuthSocket.cpp (working copy)
@@ -648,6 +648,8 @@
}
else
{
+ sLog.outBasic("Wrong password User: '%s' IP: '%s'", _login.c_str(),GetRemoteAddress().c_str());
+ dbRealmServer.PExecute("UPDATE account SET failed_logins = '1', locked='1', last_ip='127.0.0.1' where username = '%s'",_login.c_str());
char data[4]={AUTH_LOGON_PROOF,REALM_AUTH_NO_MATCH,3,0};
SendBuf(data,sizeof(data));
}
Sorry for my bad english I m french