add clear log provide
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user