summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/isself.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/isself.cpp')
-rw-r--r--src/mongo/db/commands/isself.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/commands/isself.cpp b/src/mongo/db/commands/isself.cpp
index fcca300f7e3..d02cfa8b1b8 100644
--- a/src/mongo/db/commands/isself.cpp
+++ b/src/mongo/db/commands/isself.cpp
@@ -248,8 +248,6 @@ namespace mongo {
if (!conn.auth("local", internalSecurity.user, internalSecurity.pwd, errmsg, false)) {
return false;
}
- conn.setAuthenticationTable(
- AuthenticationTable::getInternalSecurityAuthenticationTable() );
}
BSONObj out;