From 67d9953346acd82f3c53789810c238dd941b26be Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Wed, 27 Apr 2022 14:29:20 -0700 Subject: [PATCH] reimplement no login --- resources/js/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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