summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/commands/start_session_command.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands/start_session_command.cpp b/src/mongo/db/commands/start_session_command.cpp
index ca14935df92..2827fc2d1ae 100644
--- a/src/mongo/db/commands/start_session_command.cpp
+++ b/src/mongo/db/commands/start_session_command.cpp
@@ -76,6 +76,10 @@ public:
return Status::OK();
}
+ bool allowedWithSecurityToken() const final {
+ return true;
+ }
+
bool run(OperationContext* opCtx,
const DatabaseName&,
const BSONObj& cmdObj,