mirror of
https://github.com/openziti/zrok.git
synced 2025-06-25 20:22:45 +02:00
Merge pull request #574 from OmarTariq612/omar
check local storage for user info before redirecting to the login page
This commit is contained in:
commit
54a6ddf56c
@ -17,6 +17,8 @@ const App = () => {
|
|||||||
console.log("reloaded user", localUser);
|
console.log("reloaded user", localUser);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkUserData()
|
||||||
|
|
||||||
document.addEventListener('storage', checkUserData)
|
document.addEventListener('storage', checkUserData)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user