rm db authentication
This commit is contained in:
parent
35cc25848c
commit
9adf269528
1
main.py
1
main.py
@ -14,7 +14,6 @@ app = Flask(__name__)
|
|||||||
#mongodb = MongoClient('mongodb://172.21.27.1,172.21.27.2,172.21.27.3:27017/', replicaSet="kspace-mongo-set").kspace_accounting
|
#mongodb = MongoClient('mongodb://172.21.27.1,172.21.27.2,172.21.27.3:27017/', replicaSet="kspace-mongo-set").kspace_accounting
|
||||||
mongodb = MongoClient(const.MONGO_URI)
|
mongodb = MongoClient(const.MONGO_URI)
|
||||||
mongodb = mongodb.get_default_database()
|
mongodb = mongodb.get_default_database()
|
||||||
mongodb.authenticate("kspace_accounting", os.environ["MONGO_PASSWORD"])
|
|
||||||
|
|
||||||
DOORBOY_SECRET = os.environ["DOORBOY_SECRET"]
|
DOORBOY_SECRET = os.environ["DOORBOY_SECRET"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user