mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
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:
parent
b886c0aeae
commit
db72dac243
5 changed files with 125 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue