summaryrefslogtreecommitdiff
path: root/db/dbcommands_generic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/dbcommands_generic.cpp')
-rw-r--r--db/dbcommands_generic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/dbcommands_generic.cpp b/db/dbcommands_generic.cpp
index 69b51c7..22cee22 100644
--- a/db/dbcommands_generic.cpp
+++ b/db/dbcommands_generic.cpp
@@ -51,7 +51,8 @@ namespace mongo {
public:
CmdBuildInfo() : Command( "buildInfo", true, "buildinfo" ) {}
virtual bool slaveOk() const { return true; }
- virtual bool adminOnly() const { return true; }
+ virtual bool adminOnly() const { return false; }
+ virtual bool requiresAuth() { return false; }
virtual LockType locktype() const { return NONE; }
virtual void help( stringstream &help ) const {
help << "get version #, etc.\n";