changed default mongo auth mechanism

bug_fix
voje 5 years ago
parent c17361fbda
commit 19945a9dd9

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

Loading…
Cancel
Save