diff options
author | Shane Harvey <shane.harvey@mongodb.com> | 2016-04-14 13:44:53 -0400 |
---|---|---|
committer | Shane Harvey <shane.harvey@mongodb.com> | 2016-04-18 14:11:13 -0400 |
commit | 8432d0bb4809e6547338771a365f3b5340b79024 (patch) | |
tree | 2e20ba57da8e3232647e3f19ee0d57b8fdfaaa81 /src/mongo/db/initialize_server_global_state.cpp | |
parent | e96fc394af9d694a86e6e5d5081bd3f9b4698bae (diff) | |
download | mongo-8432d0bb4809e6547338771a365f3b5340b79024.tar.gz |
SERVER-6823 Rename --tryClusterAuth to --transitionToAuth
Diffstat (limited to 'src/mongo/db/initialize_server_global_state.cpp')
-rw-r--r-- | src/mongo/db/initialize_server_global_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/initialize_server_global_state.cpp b/src/mongo/db/initialize_server_global_state.cpp index 1341f61f3ff..c9a313491f8 100644 --- a/src/mongo/db/initialize_server_global_state.cpp +++ b/src/mongo/db/initialize_server_global_state.cpp @@ -352,7 +352,7 @@ bool initializeServerGlobalState() { // Auto-enable auth unless we are in mixed auth/no-auth or clusterAuthMode was not provided. // clusterAuthMode defaults to "keyFile" if a --keyFile parameter is provided. if (clusterAuthMode != ServerGlobalParams::ClusterAuthMode_undefined && - !serverGlobalParams.tryClusterAuth) { + !serverGlobalParams.transitionToAuth) { getGlobalAuthorizationManager()->setAuthEnabled(true); } |