mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
Update mongo.lua
mongo auth config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user