Debugging.... password hash too long

This commit is contained in:
jeffcheasey88 2024-03-28 20:58:16 +01:00
parent 700054f586
commit f722a4db22

View file

@ -537,6 +537,8 @@ public class DatabaseRepository {
public int register(String pseudo, String email, String password, String firstname, String lastname,
String description, String sgroup, String avatar) {
try {
String pass = Password.hash(password).withArgon2().getResult();
System.out.println("pass("+pass.length()+") "+pass);
ensureConnection();
con.setAutoCommit(false);
try (PreparedStatement playerStatement = con.prepareStatement(DatabaseQuery.REGISTER_QUERY.toString(),