mirror of
https://github.com/sasjs/server.git
synced 2026-01-07 22:50:05 +00:00
feat: enabled session based authentication for web
This commit is contained in:
@@ -14,7 +14,7 @@ import { AppContext } from './context/appContext'
|
||||
function App() {
|
||||
const appContext = useContext(AppContext)
|
||||
|
||||
if (!appContext.tokens) {
|
||||
if (!appContext.loggedIn) {
|
||||
return (
|
||||
<ThemeProvider theme={theme}>
|
||||
<HashRouter>
|
||||
|
||||
Reference in New Issue
Block a user