From 9042b4e776b2343b52f71356ea9d7104cc1dee86 Mon Sep 17 00:00:00 2001 From: Egor Svitin Date: Tue, 7 Feb 2023 14:26:43 +0300 Subject: [PATCH] update configs --- configs/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/config.py b/configs/config.py index c023820..e7a3e35 100644 --- a/configs/config.py +++ b/configs/config.py @@ -13,7 +13,8 @@ class AppConfig: connect( db=CONFIGS['db']['name'], username=CONFIGS['db']['username'], - password=CONFIGS['db']['password'] + password=CONFIGS['db']['password'], + authentication_source='admin', host="mongodb://{host}:27017/{database}".format(host=CONFIGS['db']['host'], database=CONFIGS['db']['name']) )