mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 23:02:52 +01: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…
Reference in New Issue
Block a user