add clear log provide

This commit is contained in:
2026-08-23 18:15:40 +10:00
parent 4eafa2fa8d
commit ba4976fce4
6 changed files with 76 additions and 13 deletions
@@ -37,7 +37,7 @@ public class UsersController : ControllerBase
public async Task<IActionResult> LoginApiAD([FromBody] AuthenticateRequest model)
{
string remoteIpAddress = HttpContext.Connection.RemoteIpAddress?.ToString();
var rval = await _repoUser.LoginApiAD(userdetail, remoteIpAddress);
var rval = await _userService.LoginApiAD(model, remoteIpAddress);
if (rval.Data != null && rval.Data.Token != null)
{
// Configure cookie options