diff options
author | dwight <dwight@Dwights-MacBook-2.local> | 2009-01-21 17:26:16 -0500 |
---|---|---|
committer | dwight <dwight@Dwights-MacBook-2.local> | 2009-01-21 17:26:16 -0500 |
commit | 0f9f3648b064641860d40a8b9da01c013bef2d75 (patch) | |
tree | 342dd28f1bc30da211bde6d493bdb9f8e9d71baf /db/security.cpp | |
parent | 92d7e087d3d250788a164d54326347c42e798f19 (diff) | |
download | mongo-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.cpp | 2 |
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); |