diff options
Diffstat (limited to 'src/mongo/tools/stat.cpp')
| -rw-r--r-- | src/mongo/tools/stat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/tools/stat.cpp b/src/mongo/tools/stat.cpp index 9dc436d087d..07194444671 100644 --- a/src/mongo/tools/stat.cpp +++ b/src/mongo/tools/stat.cpp @@ -360,7 +360,7 @@ namespace mongo { (int)ceil(_statUtil.getSeconds()) ) ) ); state->authParams = BSON( "user" << _username << "pwd" << _password << - "userSource" << _authenticationDatabase << + "userSource" << getAuthenticationDatabase() << "mechanism" << _authenticationMechanism ); return true; } |
