mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11736] Hide passwords from logs
* DB connection * chat/console password changes commands.
This commit is contained in:
parent
f4802ab4c4
commit
a0ff5f4536
9 changed files with 68 additions and 57 deletions
|
|
@ -248,7 +248,10 @@ bool ChatHandler::HandleAccountPasswordCommand(char* args)
|
|||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
// OK, but avoid normal report for hide passwords, but log use command for anyone
|
||||
LogCommand(".account password *** *** ***");
|
||||
SetSentErrorMessage(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleAccountLockCommand(char* args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue