feat: Adds layout page to use with onboarding views (#8855)
* feat: Wizard step component to use with onboarding * feat: Adds layout page to use with onboarding views * Adds dark mode assets * Updates to layout bg image * Updates to translations
This commit is contained in:
@@ -45,6 +45,13 @@ export const validateAuthenticateRoutePermission = (to, next, { getters }) => {
|
||||
return next(frontendURL(`accounts/${user.account_id}/dashboard`));
|
||||
}
|
||||
|
||||
// we can let them access onboarding routes
|
||||
// we will eventually need guards as onboarding is done, but for now
|
||||
// we can let them access onboarding routes
|
||||
if (to.name.startsWith('onboarding')) {
|
||||
return next();
|
||||
}
|
||||
|
||||
const nextRoute = validateLoggedInRoutes(
|
||||
to,
|
||||
getters.getCurrentUser,
|
||||
|
||||
Reference in New Issue
Block a user