feat(dashboard): backend user.js

This commit is contained in:
admin
2025-10-04 17:08:58 +07:00
parent c414899a4f
commit c98baa94fc
2 changed files with 40 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
// File: backend/src/routes/users.js
import { Router } from "express";
import { User, Role } from "../db/index.js";
import { User, Role } from "../db/sequelize.js";
import { authJwt, permGuard } from "../middleware/index.js";
import { hashPassword } from "../utils/passwords.js";