diff --git a/src/main/java/cactusServer/entities/Account.java b/src/main/java/cactusServer/entities/Account.java index 7b27566..2d5319c 100644 --- a/src/main/java/cactusServer/entities/Account.java +++ b/src/main/java/cactusServer/entities/Account.java @@ -1,5 +1,6 @@ package cactusServer.entities; +import cactusServer.utils.RandomStringGenerator; import net.arnx.jsonic.JSONHint; public class Account { @@ -52,7 +53,7 @@ } public String formToken() { - token = RandomStringGenerator.createRandomString(64, RandomStringGenerator.ALPHA_NUMERIC); + token = RandomStringGenerator.generateRandomString(64, RandomStringGenerator.ALPHA_NUMERIC); return token; }