diff options
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/commands/authentication_commands.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/commands/authentication_commands.cpp b/src/mongo/db/commands/authentication_commands.cpp index a54060a68e0..485b292c7a2 100644 --- a/src/mongo/db/commands/authentication_commands.cpp +++ b/src/mongo/db/commands/authentication_commands.cpp @@ -244,9 +244,8 @@ void _authenticateX509(OperationContext* opCtx, UserName& user, StringData dbnam "Client isn't a mongod or mongos, but is connecting with a " "certificate with cluster membership"); } - - authCounter.getMechanismCounter("MONGODB-X509").incClusterAuthenticateSuccessful(); } + authCounter.getMechanismCounter("MONGODB-X509").incClusterAuthenticateSuccessful(); authorizationSession->grantInternalAuthorization(client); } else { |