feat: initial commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// Ported verbatim from legacy henza_pwa/src/Mixins/checkAccess.ts (isUserLoggedIn
|
||||
// only — canNavigate/getHomeRouteForLoggedInUser were dead/unwired in legacy too).
|
||||
// No login flow exists yet in this port, so this always returns falsy for now.
|
||||
export function isUserLoggedIn() {
|
||||
return localStorage.getItem('appToken')
|
||||
}
|
||||
Reference in New Issue
Block a user