mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
Revert wrong 06ed6af86c36869f2781bf328802214f23e3f369 and restore RA login work. Sorry :/
This commit is contained in:
parent
643f6af8c7
commit
85319c4a15
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue