feat(xo-server): validate auth token on HTTP request
This commit is contained in:
parent
d52dcd0708
commit
281a1cc549
@ -79,7 +79,6 @@ export const signOut = () => {
|
|||||||
// prevent automatic reconnection
|
// prevent automatic reconnection
|
||||||
xo.removeListener('closed', connect)
|
xo.removeListener('closed', connect)
|
||||||
|
|
||||||
cookies.remove('token')
|
|
||||||
window.location.reload(true)
|
window.location.reload(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user