mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
added admin setup
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// backend/src/routes/auth.ts
|
||||
import express from 'express';
|
||||
import { login, register, logout, getCurrentUser } from '../controllers/authController';
|
||||
import { authMiddleware } from '../middleware/auth';
|
||||
import { login, register, logout, getCurrentUser } from '../controllers/authController.js';
|
||||
import { authMiddleware } from '../middleware/auth.js';
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user