increase bcrypt rounds at the recommendation of jonathan rusherhack the first
All checks were successful
/ Build BaseBand Server (push) Successful in 1m13s
All checks were successful
/ Build BaseBand Server (push) Successful in 1m13s
This commit is contained in:
parent
db18b1a84f
commit
a4db314595
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class BotServiceHandler {
|
|||
).findFirst().orElse(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);
|
||||
} else {
|
||||
tos.writeInt(404);
|
||||
|
|
Loading…
Add table
Reference in a new issue