WebAuthn registration completed

This commit is contained in:
Pinga 2023-11-22 17:22:52 +02:00
parent 3684970ff9
commit 810d0cc7d1
6 changed files with 166 additions and 80 deletions

View file

@ -539,6 +539,7 @@ CREATE TABLE IF NOT EXISTS `registry`.`users_webauthn` (
`public_key` TEXT NOT NULL,
`attestation_object` BLOB,
`sign_count` BIGINT NOT NULL,
`user_agent` VARCHAR(512),
`created_at` DATETIME(3) DEFAULT CURRENT_TIMESTAMP,
`last_used_at` DATETIME(3) DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (user_id) REFERENCES users(id)