Skip to content

Commit f66317f

Browse files
authored
VCST-3303: Fixed bug that caused 'LoginFailed' from being returned for a tempora… (#2913)
1 parent 50b0141 commit f66317f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VirtoCommerce.Platform.Security/OpenIddict/SecurityErrorDescriber.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static class SecurityErrorDescriber
2222
public static TokenResponse UserIsTemporaryLockedOut() => new()
2323
{
2424
Error = Errors.InvalidGrant,
25-
Code = nameof(UserIsLockedOut).ToSnakeCase(),
25+
Code = nameof(UserIsTemporaryLockedOut).ToSnakeCase(),
2626
ErrorDescription = "Your account has been temporarily locked. Please try again after some time."
2727
};
2828

0 commit comments

Comments
 (0)