Add password change routes to backend and frontend; update routing and UI components for password management

This commit is contained in:
Torsten Schulz (local)
2025-10-17 23:13:33 +02:00
parent b2cef4d306
commit 4fe6b27b8f
8 changed files with 430 additions and 0 deletions

View File

@@ -94,6 +94,10 @@ app.use('/api/holidays', authenticateToken, holidaysRouter);
const profileRouter = require('./routes/profile');
app.use('/api/profile', authenticateToken, profileRouter);
// Password routes (geschützt) - MIT ID-Hashing
const passwordRouter = require('./routes/password');
app.use('/api/password', authenticateToken, passwordRouter);
// Error handling middleware
app.use((err, req, res, next) => {
console.error(err.stack);