summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/v8_db.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2012-07-11 14:07:15 -0400
committerRandolph Tan <randolph@10gen.com>2012-07-13 14:08:15 -0400
commit5a55760e7dfa3d637c547d5d8f04719503674e7d (patch)
treed5990068497ab114996134f14f7c745fb3e54805 /src/mongo/scripting/v8_db.h
parent479b5b9d963b4899c57a9754f824f3614a8dd941 (diff)
downloadmongo-5a55760e7dfa3d637c547d5d8f04719503674e7d.tar.gz
SERVER-6334 ReplSet connections magically gets reauthenticated after logging out
Make sure DBClientReplicaSet clears it's auth table entries whenever user logs out.
Diffstat (limited to 'src/mongo/scripting/v8_db.h')
-rw-r--r--src/mongo/scripting/v8_db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/scripting/v8_db.h b/src/mongo/scripting/v8_db.h
index 3ace8bbd23a..a77115de35f 100644
--- a/src/mongo/scripting/v8_db.h
+++ b/src/mongo/scripting/v8_db.h
@@ -45,6 +45,7 @@ namespace mongo {
v8::Handle<v8::Value> mongoRemove(V8Scope* scope, const v8::Arguments& args);
v8::Handle<v8::Value> mongoUpdate(V8Scope* scope, const v8::Arguments& args);
v8::Handle<v8::Value> mongoAuth(V8Scope* scope, const v8::Arguments& args);
+ v8::Handle<v8::Value> mongoLogout(V8Scope* scope, const v8::Arguments& args);
v8::Handle<v8::Value> internalCursorCons(V8Scope* scope, const v8::Arguments& args);
v8::Handle<v8::Value> internalCursorNext(V8Scope* scope, const v8::Arguments& args);