Add if check to quick login
This commit is contained in:
parent
56f30093f6
commit
af99d66595
@ -41,6 +41,7 @@ async function handleKeyPress(event: KeyboardEvent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (currentString.includes('11')) {
|
if (currentString.includes('11')) {
|
||||||
|
if (gameStore.token) return
|
||||||
const response = await login('root', 'password')
|
const response = await login('root', 'password')
|
||||||
|
|
||||||
if (response.success === undefined) {
|
if (response.success === undefined) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user