Save the date when a webauthn key was used last time for 2 factor authentication and show it in user settings

This commit is contained in:
Jan Böhmer 2024-04-28 17:50:19 +02:00
parent b886c0aeae
commit db72dac243
5 changed files with 125 additions and 12 deletions

View file

@ -52,7 +52,7 @@ class WebauthnKey extends BasePublicKeyCredentialSource implements TimeStampable
#[ORM\Column(type: Types::DATETIME_IMMUTABLE, nullable: true)]
protected ?\DateTimeInterface $last_time_used = null;
public function getName(): string
{
return $this->name;