summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/authentication_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/authentication_commands.h')
-rw-r--r--src/mongo/db/commands/authentication_commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/authentication_commands.h b/src/mongo/db/commands/authentication_commands.h
index f6b0c66e147..5bb01ad9fae 100644
--- a/src/mongo/db/commands/authentication_commands.h
+++ b/src/mongo/db/commands/authentication_commands.h
@@ -36,7 +36,7 @@
namespace mongo {
-class CmdAuthenticate : public Command {
+class CmdAuthenticate : public BasicCommand {
public:
static void disableAuthMechanism(std::string authMechanism);
@@ -54,7 +54,7 @@ public:
std::vector<Privilege>* out) {} // No auth required
virtual void redactForLogging(mutablebson::Document* cmdObj);
- CmdAuthenticate() : Command("authenticate") {}
+ CmdAuthenticate() : BasicCommand("authenticate") {}
bool run(OperationContext* opCtx,
const std::string& dbname,
const BSONObj& cmdObj,