increase bcrypt rounds at the recommendation of jonathan rusherhack the first
All checks were successful
/ Build BaseBand Server (push) Successful in 1m13s

This commit is contained in:
Jess H 2024-06-15 02:28:07 +01:00
parent db18b1a84f
commit a4db314595
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19

View file

@ -37,7 +37,7 @@ public class BotServiceHandler {
).findFirst().orElse(null); ).findFirst().orElse(null);
if(user != null) { if(user != null) {
user.set("password", BCrypt.withDefaults().hashToString(4, tcn.getString("password").toCharArray())); user.set("password", BCrypt.withDefaults().hashToString(10, tcn.getString("password").toCharArray()));
tos.writeInt(201); tos.writeInt(201);
} else { } else {
tos.writeInt(404); tos.writeInt(404);