diff --git a/Server/src/main/java/de/com/baseband/server/BotServiceHandler.java b/Server/src/main/java/de/com/baseband/server/BotServiceHandler.java index 2a7a588..cc1e355 100644 --- a/Server/src/main/java/de/com/baseband/server/BotServiceHandler.java +++ b/Server/src/main/java/de/com/baseband/server/BotServiceHandler.java @@ -37,7 +37,7 @@ public class BotServiceHandler { ).findFirst().orElse(null); if(user != null) { - user.set("password", BCrypt.withDefaults().hashToString(10, tcn.getString("password").toCharArray())); + user.set("password", BCrypt.withDefaults().hashToString(12, tcn.getString("password").toCharArray())); tos.writeInt(201); } else { tos.writeInt(404);