public static void verifyAccount(String token) { if (isVerifyAccount(token) == true) { DatabaseProcess.updateAccountVerify(Utils.decodedBase64(token)); } else { Utils.setError("verify error please check again"); } }
private static boolean isVerifyAccount(String token) { return DatabaseProcess.isVerifyAccount(Utils.decodedBase64(token)); }