Skip to content

Commit 2448dad

Browse files
committedApr 30, 2015
Update mongo.lua
1 parent a1b0ca3 commit 2448dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎mongo.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function mongo_db:auth(username, password)
147147
return nil, err
148148
end
149149

150-
local type_name, nonce = cbson.type(r.nonce)
150+
local _, nonce = cbson.type(r.nonce)
151151
local digest = ngx.md5( nonce .. username .. pass_digest ( username , password ) )
152152

153153
r, err = self:runCommand(

0 commit comments

Comments
 (0)
Please sign in to comment.