summaryrefslogtreecommitdiff
path: root/src/mongo/shell/servers.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/servers.js')
-rw-r--r--src/mongo/shell/servers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js
index 7712e9dd30f..b40131a6425 100644
--- a/src/mongo/shell/servers.js
+++ b/src/mongo/shell/servers.js
@@ -1290,7 +1290,7 @@ function appendSetParameterArgs(argArray) {
}
}
- if (jsTest.options().authMechanism && jsTest.options().authMechanism != "SCRAM-SHA-1") {
+ if (jsTest.options().authMechanism && jsTest.options().authMechanism != "SCRAM-SHA-256") {
if (!argArrayContainsSetParameterValue('authenticationMechanisms=')) {
argArray.push(...['--setParameter',
"authenticationMechanisms=" + jsTest.options().authMechanism]);