From 0beb75c9fb5459e203628b1a8764122a96acf368 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 30 Apr 2022 14:11:35 -0400 Subject: [PATCH] Handler added to create single account --- src/engine/db/handlers/dbAccountHandler.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/engine/db/handlers/dbAccountHandler.java b/src/engine/db/handlers/dbAccountHandler.java index ebf6048d..c62b02f9 100644 --- a/src/engine/db/handlers/dbAccountHandler.java +++ b/src/engine/db/handlers/dbAccountHandler.java @@ -121,6 +121,14 @@ public class dbAccountHandler extends dbHandlerBase { 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) { if (Account.AccountsMap.get(uname) != null)