summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShane Harvey <shane.harvey@mongodb.com>2016-05-23 19:46:07 -0400
committerShane Harvey <shane.harvey@mongodb.com>2016-05-24 11:24:02 -0400
commiteb9bec304282e80872a4890743f308ce7256aa73 (patch)
tree5ff6fa0780f5002f3434600d7353a3cc2aada4ee /src
parentec5ce3087e17bb78cccc8a3bc50fdef7bc0997f3 (diff)
downloadmongo-eb9bec304282e80872a4890743f308ce7256aa73.tar.gz
SERVER-24265 Add security.transitionToAuth option to YAML config file
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/server_options_helpers.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/server_options_helpers.cpp b/src/mongo/db/server_options_helpers.cpp
index 3b1503700d2..91ae9c9cbd1 100644
--- a/src/mongo/db/server_options_helpers.cpp
+++ b/src/mongo/db/server_options_helpers.cpp
@@ -301,9 +301,7 @@ Status addGeneralServerOptions(moe::OptionSection* options) {
moe::Switch,
"For rolling access control upgrade. Attempt to authenticate over outgoing "
"connections and proceed regardless of success. Accept incoming connections "
- "with or without authentication.")
- .setSources(moe::SourceAllLegacy)
- .incompatibleWith("noauth");
+ "with or without authentication.").incompatibleWith("noauth");
options->addOptionChaining(
"security.clusterAuthMode",