Fixing UnitTests
This commit is contained in:
@@ -111,7 +111,7 @@ namespace Microsoft.AspNetCore.Authorization
|
||||
if (validator == null)
|
||||
return null;
|
||||
|
||||
var result = await validator.ValidateAsync(username, password, context.HttpContext.GetRemoteIpAddress());
|
||||
var result = await validator.ValidateAsync(username, password, context.HttpContext.GetRemoteIpAddress(), context.HttpContext.RequestAborted);
|
||||
if (result == null)
|
||||
return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user