new funcionality
This commit is contained in:
@@ -28,6 +28,18 @@ const routes = [
|
||||
component: () => import('../pages/Register.vue'),
|
||||
meta: { guestOnly: true },
|
||||
},
|
||||
{
|
||||
path: '/forgot-password',
|
||||
name: 'forgot-password',
|
||||
component: () => import('../pages/ForgotPassword.vue'),
|
||||
meta: { guestOnly: true },
|
||||
},
|
||||
{
|
||||
path: '/reset-password',
|
||||
name: 'reset-password',
|
||||
component: () => import('../pages/ResetPassword.vue'),
|
||||
meta: { guestOnly: true },
|
||||
},
|
||||
{
|
||||
path: '/clients',
|
||||
name: 'clients',
|
||||
@@ -46,6 +58,12 @@ const routes = [
|
||||
component: () => import('../pages/AuthorizedApps.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/security',
|
||||
name: 'security',
|
||||
component: () => import('../pages/Security.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/oauth/authorize',
|
||||
name: 'oauth-authorize',
|
||||
@@ -64,6 +82,12 @@ const routes = [
|
||||
component: () => import('../pages/admin/Analytics.vue'),
|
||||
meta: { requiresAuth: true, requiresAdmin: true },
|
||||
},
|
||||
{
|
||||
path: '/admin/audit-log',
|
||||
name: 'admin-audit-log',
|
||||
component: () => import('../pages/admin/AuditLog.vue'),
|
||||
meta: { requiresAuth: true, requiresAdmin: true },
|
||||
},
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
Reference in New Issue
Block a user