From 84a5ceeb7db03d75425d72e8a23a0bb0f267bc01 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 24 Aug 2009 03:06:32 +0200 Subject: =?UTF-8?q?Hash-Klasse=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Client/Authenticators/PasswordAuthenticator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Client/Authenticators') 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 challenge(password.begin(), password.end()); - packet.set("challenge", challenge); + packet.set("data", std::vector(password.begin(), password.end())); sendPacket(packet); } -- cgit v1.2.3