diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2017-12-08 18:54:23 -0500 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2017-12-18 23:11:00 -0500 |
commit | a0c66e6e12e445d2253e85a9bb36a6fc24d77cdb (patch) | |
tree | 90ab8f5cb136796abd21f9a464b926ac7a0b9997 /src/mongo/shell/utils.js | |
parent | 01c39d416435f930d249701ccb71744b519873b5 (diff) | |
download | mongo-a0c66e6e12e445d2253e85a9bb36a6fc24d77cdb.tar.gz |
SERVER-32279 Remove support for authenticating via MONGODB-CR
Diffstat (limited to 'src/mongo/shell/utils.js')
-rw-r--r-- | src/mongo/shell/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/utils.js b/src/mongo/shell/utils.js index f7ec71ed8b6..6b7252888cd 100644 --- a/src/mongo/shell/utils.js +++ b/src/mongo/shell/utils.js @@ -299,7 +299,7 @@ jsTest.authenticate = function(conn) { // back into authenticate. conn.authenticated = true; print("Authenticating as user " + jsTestOptions().authUser + " with mechanism " + - DB.prototype._defaultAuthenticationMechanism + " on connection: " + conn); + DB.prototype._getDefaultAuthenticationMechanism() + " on connection: " + conn); conn.authenticated = conn.getDB(jsTestOptions().authenticationDatabase).auth({ user: jsTestOptions().authUser, pwd: jsTestOptions().authPassword, |