mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 01:37:52 +02:00
check localstorage for user info before redirecting to the login page
This commit is contained in:
parent
362a0faf5f
commit
3c1e52696d
@ -17,6 +17,8 @@ const App = () => {
|
||||
console.log("reloaded user", localUser);
|
||||
}
|
||||
}
|
||||
|
||||
checkUserData()
|
||||
|
||||
document.addEventListener('storage', checkUserData)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user