diff options
Diffstat (limited to 'src/mongo/db/auth/authorization_manager.cpp')
-rw-r--r-- | src/mongo/db/auth/authorization_manager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/auth/authorization_manager.cpp b/src/mongo/db/auth/authorization_manager.cpp index be5024e0a78..1379bdd1797 100644 --- a/src/mongo/db/auth/authorization_manager.cpp +++ b/src/mongo/db/auth/authorization_manager.cpp @@ -48,7 +48,6 @@ #include "mongo/db/auth/authz_manager_external_state.h" #include "mongo/db/auth/privilege.h" #include "mongo/db/auth/role_graph.h" -#include "mongo/db/auth/sasl_options.h" #include "mongo/db/auth/user.h" #include "mongo/db/auth/user_document_parser.h" #include "mongo/db/auth/user_name.h" @@ -779,8 +778,7 @@ namespace { { BSONObjBuilder toSetBuilder(updateBuilder.subobjStart("$set")); toSetBuilder << "credentials" << - BSON("SCRAM-SHA-1" << scram::generateCredentials(hashedPassword, - saslGlobalParams.scramIterationCount)); + BSON("SCRAM-SHA-1" << scram::generateCredentials(hashedPassword)); } uassertStatusOK(externalState->updateOne(txn, |