From 6847ed26409ee94b6c7afa839aa66ae33228424b Mon Sep 17 00:00:00 2001 From: Josscoder Date: Mon, 10 Apr 2023 15:12:57 -0500 Subject: [PATCH] [Release] fix: credentials bug --- src/main/java/josscoder/dailyreward/DailyRewardPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/josscoder/dailyreward/DailyRewardPlugin.java b/src/main/java/josscoder/dailyreward/DailyRewardPlugin.java index c1771ad..c540738 100644 --- a/src/main/java/josscoder/dailyreward/DailyRewardPlugin.java +++ b/src/main/java/josscoder/dailyreward/DailyRewardPlugin.java @@ -34,8 +34,8 @@ public void onEnable() { MongoDBProvider.make(config.getString("mongodb.host", "localhost"), config.getInt("mongodb.port", 27017), - config.getString("mongodb.database"), config.getString("mongodb.username"), + config.getString("mongodb.database"), config.getString("mongodb.password", "password") ); SessionFactory.make();