summaryrefslogtreecommitdiff
path: root/db/security.cpp
diff options
context:
space:
mode:
authordwight <dwight@Dwights-MacBook-2.local>2009-01-21 17:26:16 -0500
committerdwight <dwight@Dwights-MacBook-2.local>2009-01-21 17:26:16 -0500
commit0f9f3648b064641860d40a8b9da01c013bef2d75 (patch)
tree342dd28f1bc30da211bde6d493bdb9f8e9d71baf /db/security.cpp
parent92d7e087d3d250788a164d54326347c42e798f19 (diff)
downloadmongo-0f9f3648b064641860d40a8b9da01c013bef2d75.tar.gz
if no admin.system.users, allow access to everything from localhost
Diffstat (limited to 'db/security.cpp')
-rw-r--r--db/security.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/security.cpp b/db/security.cpp
index c4174f7f720..81340aada0c 100644
--- a/db/security.cpp
+++ b/db/security.cpp
@@ -17,6 +17,8 @@ namespace mongo {
bool noauth = true;
+ int AuthenticationInfo::warned;
+
Security::Security(){
#if defined(__linux__)
devrandom = new ifstream("/dev/urandom", ios::binary|ios::in);