Skip to content

Commit

Permalink
Removed a now unecessary workaround in the WebatuthnKey entity
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtronics committed Apr 27, 2024
1 parent 91b7f27 commit b886c0a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Entity/UserSystem/WebauthnKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,7 @@ class WebauthnKey extends BasePublicKeyCredentialSource implements TimeStampable

#[ORM\Column(type: Types::DATETIME_IMMUTABLE, nullable: true)]
protected ?\DateTimeInterface $last_time_used = null;

//Fix compatibility with webauthn-library >= 4.8 which would fail with an "failed to access uvInitialized before initialization" error otherwise
//TODO: Make these fields persistent, so that users can view these status infos in the UI
public ?bool $uvInitialized = null;
public ?bool $backupEligible = null;
public ?bool $backupStatus = null;


public function getName(): string
{
return $this->name;
Expand Down

0 comments on commit b886c0a

Please sign in to comment.