This commit is contained in:
owenchen committed 2026-08-25 09:05:43 +08:00
1 parent e3cbe60d43
commit 6afc97c8f5
1 file changed
+1 -1
@@ -166,7 +166,7 @@ namespace CloudBuilder.Security.Service
uint newCounter = result.SignCount;
if (newCounter <= storedCounter)
if (newCounter < storedCounter)
{
throw new InvalidOperationException(
$"WebAuthn counter regression: stored={storedCounter}, new={newCounter}");