summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@10gen.com>2014-12-04 14:18:37 -0500
committerAndreas Nilsson <andreas.nilsson@10gen.com>2014-12-04 14:26:16 -0500
commit172b2ccc4023c2839bbc941ea5a9fcde618d53b9 (patch)
tree1d6ca6414b4574f77fd06639edb65e6ced3e3425 /src/mongo/shell
parent0cdee7c87ef4098bd1b7c483e8dd80257c53e515 (diff)
downloadmongo-172b2ccc4023c2839bbc941ea5a9fcde618d53b9.tar.gz
SERVER-16002 Use the default shell auth mechanism dynamically
Diffstat (limited to 'src/mongo/shell')
-rwxr-xr-xsrc/mongo/shell/servers.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js
index d608efe0da0..f70c014eec8 100755
--- a/src/mongo/shell/servers.js
+++ b/src/mongo/shell/servers.js
@@ -909,7 +909,6 @@ runMongoProgram = function() {
args.unshift( progName,
'-u', jsTestOptions().authUser,
'-p', jsTestOptions().authPassword,
- '--authenticationMechanism', DB.prototype._defaultAuthenticationMechanism,
'--authenticationDatabase=admin'
);
}
@@ -935,7 +934,6 @@ startMongoProgramNoConnect = function() {
args.unshift(progName,
'-u', jsTestOptions().authUser,
'-p', jsTestOptions().authPassword,
- '--authenticationMechanism', DB.prototype._defaultAuthenticationMechanism,
'--authenticationDatabase=admin');
}