summaryrefslogtreecommitdiffstats
path: root/src/Client/Authenticators
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-24 03:06:32 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-24 03:06:32 +0200
commit84a5ceeb7db03d75425d72e8a23a0bb0f267bc01 (patch)
tree7a7702429a7cdbc06144b2141eb80ee2aa462d39 /src/Client/Authenticators
parent415cd36477e152c12f91a10ad61bb719373cd9d1 (diff)
downloadmad-84a5ceeb7db03d75425d72e8a23a0bb0f267bc01.tar
mad-84a5ceeb7db03d75425d72e8a23a0bb0f267bc01.zip
Hash-Klasse hinzugefügt
Diffstat (limited to 'src/Client/Authenticators')
-rw-r--r--src/Client/Authenticators/PasswordAuthenticator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Client/Authenticators/PasswordAuthenticator.cpp b/src/Client/Authenticators/PasswordAuthenticator.cpp
index 44608db..3aa9f41 100644
--- a/src/Client/Authenticators/PasswordAuthenticator.cpp
+++ b/src/Client/Authenticators/PasswordAuthenticator.cpp
@@ -31,8 +31,7 @@ void PasswordAuthenticator::PasswordAuthRequest::sendRequest() {
packet.set("method", "Password");
packet.set("user", username);
- std::vector<boost::uint8_t> challenge(password.begin(), password.end());
- packet.set("challenge", challenge);
+ packet.set("data", std::vector<boost::uint8_t>(password.begin(), password.end()));
sendPacket(packet);
}