We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc8bb1 commit da24a41Copy full SHA for da24a41
frontend/.eslintrc.js
@@ -69,7 +69,6 @@ module.exports = {
69
tsx: 'never',
70
},
71
],
72
- 'no-alert': 'off',
73
74
75
settings: {
frontend/src/middleware/auth/auth-guard.js
@@ -73,6 +73,7 @@ export default async function ({
)
&& !tenantSubdomain.isSubdomain
) {
76
+ // Protect onboard routes if user is already onboarded
77
if ((to.path === '/onboard' || (from.path !== '/onboard' && to.path === '/onboard/demo'))
78
&& (!permissionChecker.isEmptyTenant && store.getters['auth/currentTenant'].onboardedAt)) {
79
router.push('/');
0 commit comments