summaryrefslogtreecommitdiff
path: root/src/account-server/account.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/account-server/account.h')
-rw-r--r--src/account-server/account.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/account-server/account.h b/src/account-server/account.h
index 4f4b807e..8a63e9f2 100644
--- a/src/account-server/account.h
+++ b/src/account-server/account.h
@@ -81,24 +81,6 @@ class Account
const std::string &getPassword() const
{ return mPassword; }
- /**
- * Set the random salt. This salt is sent to the client, so the client
- * can hash its password with this random salt.
- * This will help to protect against replay attacks.
- *
- * @param the new random salt to be sent out next login
- */
- void setRandomSalt(const std::string &salt)
- { mRandomSalt = salt; }
-
-
- /**
- * Get the user random salt.
- *
- * @return the random salt used for next login.
- */
- const std::string &getRandomSalt() const
- { return mRandomSalt; }
/**
* Set the user email address. The email address is expected to be
@@ -230,8 +212,6 @@ class Account
std::string mName; /**< User name */
std::string mPassword; /**< User password (hashed with salt) */
- std::string mRandomSalt; /**< A random sequence sent to client to
- protect against replay attacks.*/
std::string mEmail; /**< User email address (hashed) */
Characters mCharacters; /**< Character data */
int mID; /**< Unique id */