diff --git a/modules/mongo/mongo.go b/modules/mongo/mongo.go index 1ae91ab..eb5797e 100644 --- a/modules/mongo/mongo.go +++ b/modules/mongo/mongo.go @@ -18,8 +18,6 @@ var PlayersCollection *mongo.Collection func getConnectionURI() string { cfg := serverconfig.Cfg.MongoDB - logger.Mongo.Println("mongo cfg", cfg.Username) - return "mongodb://" + cfg.Username + ":" + cfg.Password + "@" + cfg.Hostname + ":" + cfg.Port + "/?maxPoolSize=20&w=majority&authSource=" + cfg.Database }