diff --git a/resources/js/index.js b/resources/js/index.js index abe3973..743eb58 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -298,10 +298,10 @@ async function openLogin() { // Check if we even need to authenticate const { data } = await axios.get(url + '/grasscutter/auth_status') - // if (data?.message !== 'AUTH_ENABLED') { - // launchPrivate() - // return - // } + if (data?.message !== 'AUTH_ENABLED') { + launchPrivate() + return + } loginIpDisplay.innerText = ip registerIpDisplay.innerText = ip