Handler added to create single account

This commit is contained in:
2022-04-30 14:11:35 -04:00
parent 2997e5bda2
commit 0beb75c9fb
@@ -121,6 +121,14 @@ public class dbAccountHandler extends dbHandlerBase {
executeUpdate(); executeUpdate();
} }
public void CREATE_SINGLE(String accountName, String password) {
prepareCallable("CALL singleAccountCreate(`?`,`?");
setString(1, accountName);
setString(2, password);
executeUpdate();
}
public Account GET_ACCOUNT(String uname) { public Account GET_ACCOUNT(String uname) {
if (Account.AccountsMap.get(uname) != null) if (Account.AccountsMap.get(uname) != null)