reimplement no login

This commit is contained in:
SpikeHD 2022-04-27 14:29:20 -07:00
parent 1d202b7a18
commit 67d9953346

View File

@ -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