diff --git a/transport/mongo.py b/transport/mongo.py index 7cb89c3..eb7b75d 100644 --- a/transport/mongo.py +++ b/transport/mongo.py @@ -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)