Skip to content

Commit b3c82a0

Browse files
committed
fix: remove success check
1 parent ac3b023 commit b3c82a0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/VirtoCommerce.Platform.Web/Controllers/Api/AuthorizationController.cs

-5
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ public async Task<ActionResult> Exchange()
100100
// Validate the username/password parameters and ensure the account is not locked out.
101101
var result = await _signInManager.CheckPasswordSignInAsync(user, openIdConnectRequest.Password, lockoutOnFailure: true);
102102

103-
if (!result.Succeeded)
104-
{
105-
return BadRequest(SecurityErrorDescriber.LoginFailed());
106-
}
107-
108103
var context = new SignInValidatorContext
109104
{
110105
User = user,

0 commit comments

Comments
 (0)