feat(ee): one-click demo account

This commit is contained in:
Ahmed Bouhuolia
2024-08-19 12:08:58 +02:00
parent 25297bc191
commit a008aea3f3
7 changed files with 192 additions and 2 deletions

View File

@@ -27,7 +27,9 @@ const EmailConfirmation = LazyLoader({
const RegisterVerify = LazyLoader({
loader: () => import('@/containers/Authentication/RegisterVerify'),
});
const OneClickDemoPage = LazyLoader({
loader: () => import('@/containers/OneClickDemo/OneClickDemoPage'),
});
/**
* App inner.
*/
@@ -37,6 +39,9 @@ function AppInsider({ history }) {
<DashboardThemeProvider>
<Router history={history}>
<Switch>
<Route path={'/one_click_demo'}>
<OneClickDemoPage />
</Route>
<Route path={'/auth/register/verify'}>
<EnsureAuthenticated>
<EnsureUserEmailNotVerified>