mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-09-28 04:05:07 +00:00
reimplement no login
This commit is contained in:
parent
1d202b7a18
commit
67d9953346
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user