diff options
author | megamage <none@none> | 2009-09-02 18:14:10 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-09-02 18:14:10 -0500 |
commit | ea12ff233b985bd9db6f99eee07fefde80811a94 (patch) | |
tree | 92109342be4da2582bdc1a97cf10183efaf5452f /src/game/AccountMgr.h | |
parent | 9d161ff757daf47335f7cc84825463cc30818c8c (diff) |
[8450] Prevented using of plaintext passwords in sql queries Author: arrai
--HG--
branch : trunk
Diffstat (limited to 'src/game/AccountMgr.h')
-rw-r--r-- | src/game/AccountMgr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/AccountMgr.h b/src/game/AccountMgr.h index 2be0178998e..c14110036a0 100644 --- a/src/game/AccountMgr.h +++ b/src/game/AccountMgr.h @@ -53,6 +53,7 @@ class AccountMgr uint32 GetId(std::string username); uint32 GetSecurity(uint32 acc_id); bool GetName(uint32 acc_id, std::string &name); + std::string CalculateShaPassHash(std::string& name, std::string& password); static bool normalizeString(std::string& utf8str); }; |