Add password change routes to backend and frontend; update routing and UI components for password management
This commit is contained in:
@@ -17,6 +17,7 @@ import Workdays from '../views/Workdays.vue'
|
||||
import Calendar from '../views/Calendar.vue'
|
||||
import Holidays from '../views/Holidays.vue'
|
||||
import Profile from '../views/Profile.vue'
|
||||
import PasswordChange from '../views/PasswordChange.vue'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
@@ -105,6 +106,12 @@ const router = createRouter({
|
||||
component: Profile,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/settings/password',
|
||||
name: 'settings-password',
|
||||
component: PasswordChange,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/entries',
|
||||
name: 'entries',
|
||||
|
||||
Reference in New Issue
Block a user