Closed StpMax closed 3 years ago
Why
It it possible include username and password to connection sting. In that case connection will be created with MongoClient(... ,username=None), which causes an error
MongoClient(... ,username=None)
How
added case for username=None or username=''
username=None
username=''
Why
It it possible include username and password to connection sting. In that case connection will be created with
MongoClient(... ,username=None)
, which causes an errorHow
added case for
username=None
orusername=''