feat(two-factor-request-model) [PM-20109]: Remove hard-coded 5 limit on ID validation.

This commit is contained in:
enmande
2025-12-16 13:18:14 -05:00
parent b21e26d629
commit f07fae997d

View File

@@ -273,7 +273,7 @@ public class TwoFactorWebAuthnDeleteRequestModel : SecretVerificationRequestMode
yield return validationResult;
}
if (!Id.HasValue || Id < 0 || Id > 5)
if (!Id.HasValue)
{
yield return new ValidationResult("Invalid Key Id", new string[] { nameof(Id) });
}