From 28327ab66e97d3319ca2baf001385a38825da84c Mon Sep 17 00:00:00 2001 From: Andreas Nilsson Date: Tue, 18 Feb 2014 10:20:33 -0500 Subject: SERVER-12476 Set internalAuth params when changing clusterAuthMode --- src/mongo/db/auth/security_key.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mongo/db/auth/security_key.h') diff --git a/src/mongo/db/auth/security_key.h b/src/mongo/db/auth/security_key.h index 94f80f2c65a..298a5cf0906 100644 --- a/src/mongo/db/auth/security_key.h +++ b/src/mongo/db/auth/security_key.h @@ -40,10 +40,9 @@ namespace mongo { /** * This method initializes the internalSecurity object with authentication - * credentials to be used by authenticateInternalUser. This method should - * only be called once when setting up authentication method for the system. + * credentials to be used by authenticateInternalUser. */ - extern bool setInternalUserAuthParams(BSONObj authParams); + extern void setInternalUserAuthParams(const BSONObj& authParamsIn); /** * This method authenticates to another cluster member using appropriate -- cgit v1.2.1