Skip to content

Commit

Permalink
Add 'REVOKED' status to authenticator status checks
Browse files Browse the repository at this point in the history
Include 'AuthenticatorStatus::REVOKED' in the list of valid statuses for status checks. This ensures proper handling of revoked authenticators within the MetadataService logic.
  • Loading branch information
Spomky committed Jan 4, 2025
1 parent 3cd37d3 commit e456def
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function isCompromised(): bool
AuthenticatorStatus::USER_KEY_PHYSICAL_COMPROMISE,
AuthenticatorStatus::USER_KEY_REMOTE_COMPROMISE,
AuthenticatorStatus::USER_VERIFICATION_BYPASS,
AuthenticatorStatus::REVOKED
], true);
}

Expand Down

0 comments on commit e456def

Please sign in to comment.