diff options
Diffstat (limited to 'src/Client/Authenticators')
-rw-r--r-- | src/Client/Authenticators/PasswordAuthenticator.cpp | 3 |
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); } |