remove Unauthorized

This commit is contained in:
AnonymousDotNet 2024-09-29 13:14:52 +08:00
parent 50a94f3249
commit 2c77ad0798

View file

@ -68,7 +68,6 @@ public class UserController : ControllerBase
var token = await _userService.ActiveUser(model);
if (token == null)
{
//return Unauthorized();
return BadRequest();
}
return Ok(token);