diff --git a/Controllers/UserController.cs b/Controllers/UserController.cs index c61879f..42b592b 100644 --- a/Controllers/UserController.cs +++ b/Controllers/UserController.cs @@ -29,7 +29,7 @@ namespace FirmTracker_Server.Controllers { [Route("api/user")] [ApiController] - //[Authorize] + [Authorize] public class UserController : ControllerBase { private readonly IUserService UserService; @@ -40,7 +40,7 @@ namespace FirmTracker_Server.Controllers } [HttpPost("create")] - //[Authorize(Roles = Roles.Admin)] + [Authorize(Roles = Roles.Admin)] public ActionResult CreateUser([FromBody] CreateUserDto dto) { if (!ModelState.IsValid)