mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 19:57:44 +02:00
Add an Auth page to the Admin panel
This commit is contained in:
parent
d90ffd504a
commit
6102a4b3f6
@ -5,6 +5,11 @@
|
||||
'view' : 'admin.appSetup',
|
||||
'id' : 'lnkTabApp'
|
||||
},
|
||||
{
|
||||
'name' : 'admin.auth',
|
||||
'view' : 'admin.auth',
|
||||
'id' : 'lnkTabAuth'
|
||||
},
|
||||
{
|
||||
'name' : 'admin.users',
|
||||
'view' : 'admin.users',
|
||||
|
1
resources/js/router/index.js
vendored
1
resources/js/router/index.js
vendored
@ -36,6 +36,7 @@ const router = createRouter({
|
||||
{ path: '/settings/webauthn', name: 'settings.webauthn.devices', component: () => import('../views/settings/WebAuthn.vue'), meta: { middlewares: [authGuard], watchedByKicker: true, showAbout: true } },
|
||||
|
||||
{ path: '/admin/app', name: 'admin.appSetup', component: () => import('../views/admin/AppSetup.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true } },
|
||||
{ path: '/admin/auth', name: 'admin.auth', component: () => import('../views/admin/Auth.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true } },
|
||||
{ path: '/admin/users', name: 'admin.users', component: () => import('../views/admin/Users.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true } },
|
||||
{ path: '/admin/users/create', name: 'admin.createUser', component: () => import('../views/admin/users/Create.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true } },
|
||||
{ path: '/admin/users/:userId/manage', name: 'admin.manageUser', component: () => import('../views/admin/users/Manage.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true }, props: true },
|
||||
|
5
resources/js/views/admin/Auth.vue
Normal file
5
resources/js/views/admin/Auth.vue
Normal file
@ -0,0 +1,5 @@
|
||||
<script setup>
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
Loading…
x
Reference in New Issue
Block a user