rm db authentication

master
songmeo 2 years ago
parent 35cc25848c
commit 9adf269528
  1. 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(const.MONGO_URI)
mongodb = mongodb.get_default_database()
mongodb.authenticate("kspace_accounting", os.environ["MONGO_PASSWORD"])
DOORBOY_SECRET = os.environ["DOORBOY_SECRET"]

Loading…
Cancel
Save