changed default mongo auth mechanism

This commit is contained in:
voje 2019-04-14 16:50:54 +02:00
parent c17361fbda
commit 19945a9dd9

View File

@ -63,7 +63,7 @@ def data_to_valdb(sentence_generator, dbaddr, username, password, collection_nam
username=username,
password=password,
authSource="valdb",
authMechanism='SCRAM-SHA-256'
authMechanism='SCRAM-SHA-1'
)
valdb = client.valdb
logger.info("Writing data to {}.".format(collection_name))