now the component login dont give access to inactive

This commit is contained in:
2026-03-04 11:16:14 -06:00
parent 04290f4097
commit 54d878c145
2 changed files with 5 additions and 2 deletions
+1 -2
View File
@@ -19,8 +19,7 @@ import { Role } from 'src/role.enum';
export class UserController {
constructor(private readonly userService: UserService) { }
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles(Role.ADMINISTRADOR, Role.SUPER_ADMINISTRADOR)
@Get()
async getAll() {
return this.userService.getAll();