pis #2
@ -97,7 +97,7 @@ async function register() { // Registers a device by sending POST request to API
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
logout()
|
logout()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function logout() { // Simply removed the UUID from localstorage
|
async function logout() { // Simply removed the UUID from localstorage
|
||||||
|
Reference in New Issue
Block a user