This commit is contained in:
parent
a4db314595
commit
97def8f472
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(10, tcn.getString("password").toCharArray()));
|
||||
user.set("password", BCrypt.withDefaults().hashToString(12, tcn.getString("password").toCharArray()));
|
||||
tos.writeInt(201);
|
||||
} else {
|
||||
tos.writeInt(404);
|
||||
|
|
Loading…
Add table
Reference in a new issue