fix client to api dtos again

This commit is contained in:
2026-03-21 17:41:11 -05:00
parent fc064dd01c
commit 4fe23699c8
9 changed files with 36 additions and 20 deletions

View File

@@ -45,7 +45,7 @@ public class AuthController : ControllerBase {
[HttpPost("login")]
public async Task<ActionResult> Login(LoginDto dto)
{
var user = await users_.Get(dto.UserName);
var user = await userManager_.FindByNameAsync(dto.UserName);
if (user == null) return Unauthorized();