Skip to content

Commit

Permalink
Revert wrong 06ed6af and restore RA login work. Sorry :/
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Oct 25, 2008
1 parent 3659017 commit 0a6fbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mangosd/RASocket.cpp
Expand Up @@ -196,7 +196,7 @@ void RASocket::OnRead()

QueryResult *check = loginDatabase.PQuery(
"SELECT 1 FROM account WHERE username = '%s' AND sha_pass_hash=SHA1(CONCAT(username,':','%s'))",
login.c_str(), login.c_str(), pw.c_str());
login.c_str(), pw.c_str());

if(check)
{
Expand Down

0 comments on commit 0a6fbc6

Please sign in to comment.