diff --git a/source/calendarwebapp/authenticator.d b/source/calendarwebapp/authenticator.d index 4ab0b5b..0322398 100644 --- a/source/calendarwebapp/authenticator.d +++ b/source/calendarwebapp/authenticator.d @@ -37,8 +37,6 @@ public: if (result != Bson(null)) { auto authInfo = result.deserializeBson!AuthInfo; - import vibe.core.log : logInfo; - logInfo(passwordHasher.generateHash(password)); if (passwordHasher.checkHash(password, authInfo.passwordHash)) { return authInfo.nullable; diff --git a/source/calendarwebapp/configuration.d b/source/calendarwebapp/configuration.d index ffb162d..1ef363d 100644 --- a/source/calendarwebapp/configuration.d +++ b/source/calendarwebapp/configuration.d @@ -20,7 +20,7 @@ public: override void registerDependencies(shared(DependencyContainer) container) { auto mongoClient = connectMongoDB("localhost"); - auto pool = new MySQLPool("localhost", "root", "Ilemm3Kzj", "CalendarWebapp"); + auto pool = new MySQLPool("localhost", "username", "password", "CalendarWebapp"); container.register!MySQLPool.existingInstance(pool); container.register!MongoClient.existingInstance(mongoClient); container.register!(EventStore, MySQLEventStore);