bug fix: mongodb mechanism parameter for authentication
This commit is contained in:
parent
db1496dd38
commit
7c328e5106
|
@ -59,7 +59,7 @@ class Mongo :
|
|||
username=username,
|
||||
password=password ,
|
||||
authSource=authSource,
|
||||
authMechanism='SCRAM-SHA-256')
|
||||
authMechanism=authMechanism)
|
||||
else:
|
||||
self.client = MongoClient(host,maxPoolSize=10000)
|
||||
|
||||
|
|
Loading…
Reference in New Issue