summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-02-10 12:01:32 -0500
committerAaron <aaron@10gen.com>2009-02-10 12:01:32 -0500
commit72d5a652fb9e785f66834b3db74426b32aa1cf23 (patch)
tree2d899b25a9eb7eaaaba9b64b233e09718156cca3
parente66877f86a845c25379d28c36d26ad50459e00f8 (diff)
downloadmongo-72d5a652fb9e785f66834b3db74426b32aa1cf23.tar.gz
Don't add 'key' twice
-rw-r--r--client/dbclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dbclient.cpp b/client/dbclient.cpp
index a8f3383b9ec..9f494fbd7a8 100644
--- a/client/dbclient.cpp
+++ b/client/dbclient.cpp
@@ -161,7 +161,7 @@ namespace mongo {
BSONObjBuilder b;
{
- b << "authenticate" << 1 << "nonce" << nonce << "user" << username << "key";
+ b << "authenticate" << 1 << "nonce" << nonce << "user" << username;
md5digest d;
{
md5_state_t st;