diff options
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r-- | src/mongo/s/server.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp index f15c87f3eb4..027a943d8da 100644 --- a/src/mongo/s/server.cpp +++ b/src/mongo/s/server.cpp @@ -94,9 +94,7 @@ namespace mongo { virtual ~ShardedMessageHandler() {} virtual void connected( AbstractMessagingPort* p ) { - ClientInfo *c = ClientInfo::create(p); - if( p->remote().isLocalHost() ) - c->getAuthenticationInfo()->setIsALocalHostConnectionWithSpecialAuthPowers(); + ClientInfo::create(p); } virtual void process( Message& m , AbstractMessagingPort* p , LastError * le) { |