Update mongo.lua

mongo auth config
This commit is contained in:
lmess
2014-12-03 15:31:32 +08:00
parent 784fb9fee7
commit 175529b114

View File

@@ -120,6 +120,8 @@ function mongo.client( conf )
local obj = {
host = first.host,
port = first.port or 27017,
username = first.username,
password = first.password,
}
obj.__id = 0