mirror of
https://github.com/openziti/zrok.git
synced 2024-12-23 07:09:12 +01:00
check localstorage for user info before redirecting to the login page
This commit is contained in:
parent
362a0faf5f
commit
3c1e52696d
@ -18,6 +18,8 @@ const App = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkUserData()
|
||||||
|
|
||||||
document.addEventListener('storage', checkUserData)
|
document.addEventListener('storage', checkUserData)
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user